htsp server: timeshift must be destroyed before subscription queue flush, fixes #2351
This commit is contained in:
parent
078e61bb9f
commit
5b3f64834a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue