summaryrefslogtreecommitdiff
path: root/display.c
diff options
context:
space:
mode:
authorPeter Bieringer <pb@bieringer.de>2021-02-15 21:14:06 +0100
committerPeter Bieringer <pb@bieringer.de>2021-02-15 21:14:06 +0100
commit97b63a6f883300254372c18a60b9efba25189d06 (patch)
tree1b73a6d423b50dc7447a6fe9844ed237df65a1eb /display.c
parent603ac03d8ff62fb29bd8e57e2c6927c791c78866 (diff)
downloadvdr-plugin-graphlcd-97b63a6f883300254372c18a60b9efba25189d06.tar.gz
vdr-plugin-graphlcd-97b63a6f883300254372c18a60b9efba25189d06.tar.bz2
fix to proper Stop(), add some debug log and rename thread matching plugin name
Diffstat (limited to 'display.c')
-rw-r--r--display.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/display.c b/display.c
index c1a5205..c6eabb4 100644
--- a/display.c
+++ b/display.c
@@ -31,7 +31,7 @@
#include <vdr/remote.h>
cGraphLCDDisplay::cGraphLCDDisplay()
-: cThread("glcd_display"),
+: cThread("graphlcd_display"),
mLcd(NULL),
mScreen(NULL),
mSkin(NULL),
@@ -60,6 +60,8 @@ cGraphLCDDisplay::cGraphLCDDisplay()
cGraphLCDDisplay::~cGraphLCDDisplay()
{
+ Cancel(3);
+
delete mSkin;
delete mSkinConfig;
delete mScreen;
@@ -68,11 +70,6 @@ cGraphLCDDisplay::~cGraphLCDDisplay()
delete mService;
}
-void cGraphLCDDisplay::Stop (void)
-{
- Cancel(3);
-}
-
bool cGraphLCDDisplay::Initialise(GLCD::cDriver * Lcd, const std::string & CfgPath, const std::string & SkinsPath, const std::string & SkinName)
{
std::string skinsPath;