diff options
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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; |