From 51eb880da0365236e6a08aca3b1d84b14f6294b3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 11 May 2002 13:44:58 +0200 Subject: Improved implementation of setup menus for plugins --- vdr.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vdr.c') diff --git a/vdr.c b/vdr.c index 1b04f4d8..cd3e528c 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/people/kls/vdr * - * $Id: vdr.c 1.104 2002/05/05 12:00:00 kls Exp $ + * $Id: vdr.c 1.105 2002/05/11 11:46:40 kls Exp $ */ #include @@ -578,14 +578,14 @@ int main(int argc, char *argv[]) } if (Interrupted) isyslog(LOG_INFO, "caught signal %d", Interrupted); - Setup.CurrentChannel = cDvbApi::CurrentChannel(); - Setup.CurrentVolume = cDvbApi::CurrentVolume(); - Setup.Save(); - PluginManager.Shutdown(true); cVideoCutter::Stop(); delete Menu; delete ReplayControl; delete Interface; + PluginManager.Shutdown(true); + Setup.CurrentChannel = cDvbApi::CurrentChannel(); + Setup.CurrentVolume = cDvbApi::CurrentVolume(); + Setup.Save(); cDvbApi::Cleanup(); if (WatchdogTimeout > 0) dsyslog(LOG_INFO, "max. latency time %d seconds", MaxLatencyTime); -- cgit v1.2.3