diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-12 15:22:29 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-12 15:22:29 +0200 |
commit | fadc2565d468afca10448600033b73af1ef74978 (patch) | |
tree | 3dfac29cb3b96acaf4a01f32dd6fec493000ad24 /vdr.c | |
parent | ec5795bda2aae521c81e101ec109b8bc74e3e19d (diff) | |
download | vdr-fadc2565d468afca10448600033b73af1ef74978.tar.gz vdr-fadc2565d468afca10448600033b73af1ef74978.tar.bz2 |
Fixed a crash when closing down with remote control plugins
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/people/kls/vdr * - * $Id: vdr.c 1.125 2002/10/06 10:25:04 kls Exp $ + * $Id: vdr.c 1.126 2002/10/12 15:22:29 kls Exp $ */ #include <getopt.h> @@ -634,11 +634,12 @@ int main(int argc, char *argv[]) cControl::Shutdown(); delete Interface; cOsd::Shutdown(); - PluginManager.Shutdown(true); + Remotes.Clear(); Setup.CurrentChannel = cDevice::CurrentChannel(); Setup.CurrentVolume = cDevice::CurrentVolume(); Setup.Save(); cDevice::Shutdown(); + PluginManager.Shutdown(true); if (WatchdogTimeout > 0) dsyslog("max. latency time %d seconds", MaxLatencyTime); isyslog("exiting"); |