diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-06-03 12:51:22 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-06-03 12:51:22 +0200 |
commit | 25d28e7421b45c174d5ccd45ad0dc57e79c5ba37 (patch) | |
tree | 28cb7601a1bb6298b0a8f352cd5a7e040316ad3f /menu.c | |
parent | 2c74a31afed1a3552fb22b522039e67a3d40b188 (diff) | |
download | vdr-25d28e7421b45c174d5ccd45ad0dc57e79c5ba37.tar.gz vdr-25d28e7421b45c174d5ccd45ad0dc57e79c5ba37.tar.bz2 |
Fixed the locking sequence when creating a new timer from the Schedules menu
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 4.30 2017/05/28 21:14:20 kls Exp $ + * $Id: menu.c 4.31 2017/06/03 12:49:38 kls Exp $ */ #include "menu.h" @@ -1653,6 +1653,7 @@ eOSState cMenuWhatsOn::Record(void) if (cMenuScheduleItem *item = (cMenuScheduleItem *)Get(Current())) { { LOCK_TIMERS_WRITE; + LOCK_CHANNELS_READ; LOCK_SCHEDULES_READ; Timers->SetExplicitModify(); if (item->timerMatch == tmFull) { @@ -1950,6 +1951,7 @@ eOSState cMenuSchedule::Record(void) if (cMenuScheduleItem *item = (cMenuScheduleItem *)Get(Current())) { { LOCK_TIMERS_WRITE; + LOCK_CHANNELS_READ; LOCK_SCHEDULES_READ; Timers->SetExplicitModify(); if (item->timerMatch == tmFull) { |