fixed: crash on exit when playing a file via upnp's "play with" (fixes #14559). We...
authorwsoltys <wiso@no.way>
Sun, 19 Jan 2014 21:27:47 +0000 (22:27 +0100)
committerwsoltys <wiso@no.way>
Sun, 19 Jan 2014 21:27:47 +0000 (22:27 +0100)
xbmc/Application.cpp

index 1072efc..e851294 100644 (file)
@@ -3479,13 +3479,13 @@ void CApplication::Stop(int exitCode)
 
     CApplicationMessenger::Get().Cleanup();
 
+    CLog::Log(LOGNOTICE, "stop player");
+    m_pPlayer->ClosePlayer();
+
     StopPVRManager();
     StopServices();
     //Sleep(5000);
 
-    CLog::Log(LOGNOTICE, "stop player");
-    m_pPlayer->ClosePlayer();
-
 #if HAS_FILESYTEM_DAAP
     CLog::Log(LOGNOTICE, "stop daap clients");
     g_DaapClient.Release();