dvb: adapter notification happening at wrong point meant UI not always updated
(cherry picked from commit 7588429c33
)
This commit is contained in:
parent
4280b7c932
commit
4c9e13671d
1 changed files with 2 additions and 2 deletions
|
@ -738,6 +738,8 @@ dvb_adapter_stop ( th_dvb_adapter_t *tda, int opt )
|
|||
tvhlog(LOG_DEBUG, "dvb", "%s stopped thread", tda->tda_rootpath);
|
||||
}
|
||||
|
||||
dvb_adapter_notify(tda);
|
||||
|
||||
/* Don't close FE */
|
||||
if (!tda->tda_idleclose && tda->tda_enabled) return;
|
||||
|
||||
|
@ -747,8 +749,6 @@ dvb_adapter_stop ( th_dvb_adapter_t *tda, int opt )
|
|||
close(tda->tda_fe_fd);
|
||||
tda->tda_fe_fd = -1;
|
||||
}
|
||||
|
||||
dvb_adapter_notify(tda);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue