From b1b0eb8f2d6c890509d3ed449e153a59acda8d67 Mon Sep 17 00:00:00 2001 From: wsoltys Date: Sun, 19 Jan 2014 22:27:47 +0100 Subject: [PATCH] fixed: crash on exit when playing a file via upnp's "play with" (fixes #14559). We called stop on a player (upnp) which service was already stopped. --- xbmc/Application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index 1072efc..e851294 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -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(); -- 2.7.4