diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-09-24 13:41:54 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-09-24 13:41:54 +0200 |
commit | 6f1577a65954ee8a39af033ea96b92409c548eeb (patch) | |
tree | d223011214ad4ba2514d470f9ff1563c2a910dcd /vdr.c | |
parent | 7cdfca45f4da02fdad4bbccebe9ba05da93610e0 (diff) | |
download | vdr-6f1577a65954ee8a39af033ea96b92409c548eeb.tar.gz vdr-6f1577a65954ee8a39af033ea96b92409c548eeb.tar.bz2 |
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
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 <getopt.h> @@ -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) |