Permalink
Browse files

Merge pull request #4056 from wsoltys/fix_upnp_crash

fixed: crash on exit when playing a file via upnp's "play with"
  • Loading branch information...
2 parents 6546944 + b1b0eb8 commit c074af1c64dfe25f00a1b8202316f0e197f64d00 @wsoltys wsoltys committed Jan 20, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 xbmc/Application.cpp
View
@@ -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();

0 comments on commit c074af1

Please sign in to comment.