From: Adam Sutton Date: Fri, 25 May 2012 11:49:05 +0000 (+0100) Subject: Cleanup EPG after everything has been fully loaded from disk. X-Git-Tag: 3.3~408 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6e424a5212b58fd73e71844d8eb4e8f400bbc46;p=thirdparty%2Ftvheadend.git Cleanup EPG after everything has been fully loaded from disk. --- diff --git a/src/main.c b/src/main.c index 4a26f22d1..566c103d3 100644 --- a/src/main.c +++ b/src/main.c @@ -423,6 +423,8 @@ main(int argc, char **argv) avahi_init(); #endif + epg_updated(); // cleanup now all prev ref's should have been created + pthread_mutex_unlock(&global_lock);