Skip to content

Commit

Permalink
Fixed a deadlock when a recording was started
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmin-j committed Jun 17, 2017
1 parent 67eeba1 commit 83ca399
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions status.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 83ca399

Please sign in to comment.