1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a crash in case an error occurs when setting a remote timer

This commit is contained in:
Klaus Schmidinger 2020-11-06 13:13:05 +01:00
parent 0468b38ff3
commit c23547c4ca
2 changed files with 4 additions and 3 deletions

View File

@ -9536,9 +9536,10 @@ Video Disk Recorder Revision History
cDvbTuner::GetSignalStats() to avoid problems with drivers that don't do this cDvbTuner::GetSignalStats() to avoid problems with drivers that don't do this
(thanks to Helmut Binder). (thanks to Helmut Binder).
2020-11-03: 2020-11-06:
- Fixed multiple recording entries in case a recording is started during the initial - Fixed multiple recording entries in case a recording is started during the initial
reading of the video directory (reported by Claus Muus). reading of the video directory (reported by Claus Muus).
- Fixed an unnecessary double call to Display() in cMenuRecording::RefreshRecording() - Fixed an unnecessary double call to Display() in cMenuRecording::RefreshRecording()
(reported by Christoph Haubrich). (reported by Christoph Haubrich).
- Fixed a crash in case an error occurs when setting a remote timer.

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 4.86 2020/11/03 22:12:38 kls Exp $ * $Id: menu.c 4.87 2020/11/06 13:13:05 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -1130,7 +1130,7 @@ eOSState cMenuEditTimer::ProcessKey(eKeys Key)
addedTimer = timer; addedTimer = timer;
if (!HandleRemoteModifications(timer)) { if (!HandleRemoteModifications(timer)) {
// must add the timer before HandleRemoteModifications to get proper log messages with timer ids // must add the timer before HandleRemoteModifications to get proper log messages with timer ids
Timers->Del(timer); Timers->Del(timer, false);
addedTimer = NULL; addedTimer = NULL;
return osContinue; return osContinue;
} }