Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hdhomerun: fix tvhdhomerun_frontend_delete() shutdown sequence
  • Loading branch information
perexg committed Apr 10, 2016
1 parent 9dd33a2 commit 7de8430
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c
Expand Up @@ -650,14 +650,14 @@ tvhdhomerun_frontend_delete ( tvhdhomerun_frontend_t *hfe )
{
lock_assert(&global_lock);

/* Ensure we're stopped */
mpegts_input_stop_all((mpegts_input_t*)hfe);

mtimer_disarm(&hfe->hf_monitor_timer);

hdhomerun_device_tuner_lockkey_release(hfe->hf_hdhomerun_tuner);
hdhomerun_device_destroy(hfe->hf_hdhomerun_tuner);

/* Ensure we're stopped */
mpegts_input_stop_all((mpegts_input_t*)hfe);

/* Remove from adapter */
TAILQ_REMOVE(&hfe->hf_device->hd_frontends, hfe, hf_link);

Expand Down

0 comments on commit 7de8430

Please sign in to comment.