aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Kaijser <martijn@xbmc.org>2016-12-19 09:21:53 +0100
committerGitHub <noreply@github.com>2016-12-19 09:21:53 +0100
commit3fb350bb3a7439721abc4d6d0923b89330b1a480 (patch)
treea1be3854af269771403a0793fec6ffe790a86a83
parent9ee88249226fd1e8dbb0611419ca584801f1a0da (diff)
parente30c8f73d3946b7a8cc23d2384e6ac13f08940f9 (diff)
Merge pull request #11220 from MartijnKaijser/11214
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();