diff options
author | b-pass <b-pass@users.noreply.github.com> | 2016-12-18 15:56:15 -0500 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2016-12-19 09:00:22 +0100 |
commit | e30c8f73d3946b7a8cc23d2384e6ac13f08940f9 (patch) | |
tree | bf72c093864cf5b00bd487a87cf5ff24b2b30e52 | |
parent | eac82e442f3ee3472b5c7bc4b68e5e434b8b9f66 (diff) |
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(); |