Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsp server: timeshift must be destroyed before subscription queue fl…
…ush, fixes #2351
  • Loading branch information
perexg committed Oct 7, 2014
1 parent 078e61b commit 5b3f648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/htsp_server.c
Expand Up @@ -345,12 +345,12 @@ htsp_subscription_destroy(htsp_connection_t *htsp, htsp_subscription_t *hs)
transcoder_destroy(hs->hs_transcoder);
#endif

htsp_flush_queue(htsp, &hs->hs_q, 1);

#if ENABLE_TIMESHIFT
if(hs->hs_tshift)
timeshift_destroy(hs->hs_tshift);
#endif

htsp_flush_queue(htsp, &hs->hs_q, 1);
}

/**
Expand Down

0 comments on commit 5b3f648

Please sign in to comment.