summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2017-06-17 23:51:19 (GMT)
committerJasmin Jessich <jasmin@anw.at>2017-06-17 23:51:19 (GMT)
commit83ca399f99eb9c82eef72d5eb2c8e9a4f6f2a438 (patch)
treef38444dd65ac0f3a3aaade05f1b7681c03749224
parent67eeba15de29fdcde013c871fe507c8f82b2ce4a (diff)
downloadvdr-plugin-live-83ca399f99eb9c82eef72d5eb2c8e9a4f6f2a438.tar.gz
vdr-plugin-live-83ca399f99eb9c82eef72d5eb2c8e9a4f6f2a438.tar.bz2
Fixed a deadlock when a recording was started
-rw-r--r--status.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/status.cpp b/status.cpp
index a39782c..8c8d3b2 100644
--- a/status.cpp
+++ b/status.cpp
@@ -11,14 +11,12 @@ StatusMonitor::StatusMonitor()
void StatusMonitor::TimerChange(const cTimer *Timer, eTimerChange Change)
{
- cMutexLock timersLock( &LiveTimerManager() );
LiveTimerManager().SetReloadTimers();
}
void StatusMonitor::Recording( cDevice const*, char const*, char const*, bool )
{
- cMutexLock timersLock( &LiveTimerManager() );
- LiveTimerManager().DoReloadTimers();
+ LiveTimerManager().SetReloadTimers();
}
StatusMonitor& LiveStatusMonitor()