summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-07-01 15:05:17 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-07-01 15:05:17 +0200
commitfa5c9f764a6edbaba9543365770b14992194a5d0 (patch)
treed464cbe5bd7b43624c94fe0dd7474b65412a715e /menu.c
parent5193fd9d9945437fbc7663f1585ae5d96d2ba103 (diff)
downloadvdr-fa5c9f764a6edbaba9543365770b14992194a5d0.tar.gz
vdr-fa5c9f764a6edbaba9543365770b14992194a5d0.tar.bz2
Now setting currentDisplayChannel = NULL before calling cStatus::MsgOsdClear() in ~cDisplayChannel(), to avoid possible problems in case a plugin calls IsOpen()
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index baa93173..c0dceb38 100644
--- a/menu.c
+++ b/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.82 2020/05/18 16:47:29 kls Exp $
+ * $Id: menu.c 4.83 2020/07/01 15:05:17 kls Exp $
*/
#include "menu.h"
@@ -4686,8 +4686,8 @@ cDisplayChannel::cDisplayChannel(eKeys FirstKey)
cDisplayChannel::~cDisplayChannel()
{
delete displayChannel;
- cStatus::MsgOsdClear();
currentDisplayChannel = NULL;
+ cStatus::MsgOsdClear();
}
void cDisplayChannel::DisplayChannel(void)