diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2020-07-01 15:05:17 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2020-07-01 15:05:17 +0200 |
commit | fa5c9f764a6edbaba9543365770b14992194a5d0 (patch) | |
tree | d464cbe5bd7b43624c94fe0dd7474b65412a715e /menu.c | |
parent | 5193fd9d9945437fbc7663f1585ae5d96d2ba103 (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 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.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) |