From a4c25b0f60b74c705c8ddcc605a10ba0d699dc06 Mon Sep 17 00:00:00 2001 From: b-pass Date: Sun, 18 Dec 2016 15:56:15 -0500 Subject: Avoid deadlock by Posting AlarmClock commands --- xbmc/utils/AlarmClock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/utils/AlarmClock.cpp b/xbmc/utils/AlarmClock.cpp index 065673604a..2e941724ad 100644 --- a/xbmc/utils/AlarmClock.cpp +++ b/xbmc/utils/AlarmClock.cpp @@ -125,7 +125,7 @@ void CAlarmClock::Stop(const std::string& strName, bool bSilent /* false */) } else { - CApplicationMessenger::GetInstance().SendMsg(TMSG_EXECUTE_BUILT_IN, -1, -1, nullptr, iter->second.m_strCommand); + CApplicationMessenger::GetInstance().PostMsg(TMSG_EXECUTE_BUILT_IN, -1, -1, nullptr, iter->second.m_strCommand); if (iter->second.m_loop) { iter->second.watch.Reset(); -- cgit v1.2.3