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: {
|
case rmsEditTimer: {
|
||||||
//edit timer for active event
|
//edit timer for active event
|
||||||
#if VDRVERSNUM >= 20301
|
#if VDRVERSNUM >= 20301
|
||||||
|
const cTimer *timer;
|
||||||
|
{
|
||||||
LOCK_TIMERS_READ;
|
LOCK_TIMERS_READ;
|
||||||
const cTimer *timer = recManager->GetTimerForEvent(event);
|
timer = recManager->GetTimerForEvent(event);
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
cTimer *timer = recManager->GetTimerForEvent(event);
|
cTimer *timer = recManager->GetTimerForEvent(event);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user