From 1d33e7dfe0be3a60e4f2236bb4f1e2d4566a9e94 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Thu, 9 Jan 2014 00:08:44 +0200 Subject: Destroy cTxtReceiver while shutting down. --- osdteletext.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'osdteletext.c') diff --git a/osdteletext.c b/osdteletext.c index 208d049..5f2b7a6 100644 --- a/osdteletext.c +++ b/osdteletext.c @@ -49,6 +49,7 @@ public: virtual const char *CommandLineHelp(void); virtual bool ProcessArgs(int argc, char *argv[]); virtual bool Start(void); + virtual void Stop(void); virtual void Housekeeping(void); virtual const char *MainMenuEntry(void); virtual cOsdObject *MainMenuAction(void); @@ -197,6 +198,11 @@ bool cPluginTeletextosd::Start(void) return true; } +void cPluginTeletextosd::Stop(void) +{ + DELETENULL(txtStatus); +} + void cPluginTeletextosd::initTexts() { if (cTeletextSetupPage::actionKeyNames) return; -- cgit v1.2.3