aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorb-pass <b-pass@users.noreply.github.com>2016-12-18 15:56:15 -0500
committerb-pass <b-pass@users.noreply.github.com>2016-12-18 15:56:15 -0500
commita4c25b0f60b74c705c8ddcc605a10ba0d699dc06 (patch)
treea258d034beee88f3fbc3e7129f3363087af42baa
parent6e9c27419cdb05da904be67751b7509dd30a78aa (diff)
Avoid deadlock by Posting AlarmClock commands
-rw-r--r--xbmc/utils/AlarmClock.cpp2
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();