diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2016-12-19 09:21:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-19 09:21:53 +0100 |
commit | 3fb350bb3a7439721abc4d6d0923b89330b1a480 (patch) | |
tree | a1be3854af269771403a0793fec6ffe790a86a83 | |
parent | 9ee88249226fd1e8dbb0611419ca584801f1a0da (diff) | |
parent | e30c8f73d3946b7a8cc23d2384e6ac13f08940f9 (diff) |
Merge pull request #11220 from MartijnKaijser/11214
Avoid deadlock by Posting AlarmClock commands
-rw-r--r-- | xbmc/utils/AlarmClock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |