Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
main: finish tcp connections (thus subscriptions) before mpegts done …
…call
  • Loading branch information
perexg committed Mar 19, 2015
1 parent f72c67b commit 9c8dde3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.c
Expand Up @@ -934,10 +934,8 @@ main(int argc, char **argv)
tvhftrace("main", http_server_done);
tvhftrace("main", webui_done);
tvhftrace("main", fsmonitor_done);
#if ENABLE_MPEGTS
tvhftrace("main", mpegts_done);
#endif
tvhftrace("main", http_client_done);
tvhftrace("main", tcp_server_done);

// Note: the locking is obviously a bit redundant, but without
// we need to disable the gtimer_arm call in epg_save()
Expand All @@ -950,7 +948,9 @@ main(int argc, char **argv)
pthread_mutex_unlock(&global_lock);

tvhftrace("main", epggrab_done);
tvhftrace("main", tcp_server_done);
#if ENABLE_MPEGTS
tvhftrace("main", mpegts_done);
#endif
tvhftrace("main", descrambler_done);
tvhftrace("main", service_mapper_done);
tvhftrace("main", service_done);
Expand Down

0 comments on commit 9c8dde3

Please sign in to comment.