mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Eliminate deadlock in "EditTimer"
This commit is contained in:
parent
c6d01ba60b
commit
f592012442
@ -217,8 +217,11 @@ eOSState cRecMenuManager::StateMachine(eRecMenuState nextState) {
|
||||
case rmsEditTimer: {
|
||||
//edit timer for active event
|
||||
#if VDRVERSNUM >= 20301
|
||||
const cTimer *timer;
|
||||
{
|
||||
LOCK_TIMERS_READ;
|
||||
const cTimer *timer = recManager->GetTimerForEvent(event);
|
||||
timer = recManager->GetTimerForEvent(event);
|
||||
}
|
||||
#else
|
||||
cTimer *timer = recManager->GetTimerForEvent(event);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user