diff options
| author | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2013-01-04 16:53:17 +0100 |
|---|---|---|
| committer | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2013-01-04 16:53:17 +0100 |
| commit | 274f1540fea0d976def2486b0725b0b966ccf4f4 (patch) | |
| tree | a9c314e36ee6eb04e1e52b7fb8f68b29fb5f7077 | |
| parent | dbacfa65f0de1999957c6b93e2e372e607bc1988 (diff) | |
| download | vdr-plugin-inputdev-274f1540fea0d976def2486b0725b0b966ccf4f4.tar.gz vdr-plugin-inputdev-274f1540fea0d976def2486b0725b0b966ccf4f4.tar.bz2 | |
destroy the controller object within Stop()
due to lot of static objects in vdr, implicit destruction of objects has unpredictable
effects :(
| -rw-r--r-- | plugin.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -168,6 +168,8 @@ bool cInputDevicePlugin::Start(void) void cInputDevicePlugin::Stop(void) { controller_->stop(); + delete controller_; + controller_ = NULL; } VDRPLUGINCREATOR(cInputDevicePlugin); // Don't touch this! |
