mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the locking sequence when creating a new timer from the Schedules menu
This commit is contained in:
parent
2c74a31afe
commit
25d28e7421
1
HISTORY
1
HISTORY
@ -9099,3 +9099,4 @@ Video Disk Recorder Revision History
|
||||
Derek Kelly).
|
||||
- Fixed a possible crash in case the SVDRP connection to a peer VDR is terminated
|
||||
while getting remote timers.
|
||||
- Fixed the locking sequence when creating a new timer from the Schedules menu.
|
||||
|
4
menu.c
4
menu.c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user