From 6f1577a65954ee8a39af033ea96b92409c548eeb Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 24 Sep 2012 13:41:54 +0200 Subject: Moved cleaning up the EPG data and writing the epg.data file into a separate thread to avoid sluggish response to user input on slow systems --- vdr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vdr.c') diff --git a/vdr.c b/vdr.c index 53a57c31..2e097bae 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 2.39 2012/09/17 08:56:58 kls Exp $ + * $Id: vdr.c 2.40 2012/09/24 12:43:04 kls Exp $ */ #include @@ -1295,6 +1295,8 @@ int main(int argc, char *argv[]) PluginManager.Housekeeping(); } + ReportEpgBugFixStats(); + // Main thread hooks of plugins: PluginManager.MainThreadHook(); } @@ -1331,7 +1333,7 @@ Exit: EpgHandlers.Clear(); PluginManager.Shutdown(true); cSchedules::Cleanup(true); - ReportEpgBugFixStats(); + ReportEpgBugFixStats(true); if (WatchdogTimeout > 0) dsyslog("max. latency time %d seconds", MaxLatencyTime); if (LastSignal) -- cgit v1.2.3