mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
fixed crash when start recording with extrecmenu or remotetimers
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "libcore/timers.h"
|
||||
|
||||
cSDDisplayChannel::cSDDisplayChannel(cTemplate *channelTemplate, bool WithInfo) {
|
||||
channelView = NULL;
|
||||
if (firstDisplay) {
|
||||
firstDisplay = false;
|
||||
doOutput = false;
|
||||
@@ -30,9 +31,8 @@ cSDDisplayChannel::cSDDisplayChannel(cTemplate *channelTemplate, bool WithInfo)
|
||||
}
|
||||
|
||||
cSDDisplayChannel::~cSDDisplayChannel() {
|
||||
if (!doOutput)
|
||||
return;
|
||||
delete channelView;
|
||||
if (channelView)
|
||||
delete channelView;
|
||||
}
|
||||
|
||||
void cSDDisplayChannel::SetChannel(const cChannel *Channel, int Number) {
|
||||
|
Reference in New Issue
Block a user