simple_display: stop thread on shutdown

TODO: tripledragon code needs testing


Origin commit data
------------------
Branch: ni/coolstream
Commit: 46a2a11d5d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-14 (Sun, 14 Oct 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-10-14 23:48:44 +02:00
parent d112cb2c09
commit 1825f38ed3
2 changed files with 18 additions and 1 deletions

View File

@@ -173,6 +173,7 @@ class CLCD
void setled(int red, int green);
static void *TimeThread(void *);
pthread_t thrTime;
bool thread_running;
#endif
public:
bool has_lcd;
@@ -234,6 +235,9 @@ class CLCD
void Clear();
void ShowIcon(vfd_icon icon, bool show);
void ShowText(const char *s) { showServicename(std::string(s)); };
#ifndef HAVE_TRIPLEDRAGON
~CLCD();
#endif
#ifdef LCD_UPDATE
private:
CFileList* m_fileList;