ui_bridge: make sure TUI receives no more UI events after "stop" event

This commit is contained in:
Björn Linse
2018-02-22 09:00:21 +01:00
parent 4696a5a10e
commit 8b05da1577
3 changed files with 13 additions and 14 deletions

View File

@@ -144,12 +144,6 @@ void ui_builtin_stop(void)
UI_CALL(stop);
}
/// Returns true if UI `ui` is stopped.
bool ui_is_stopped(UI *ui)
{
return ui->data == NULL;
}
bool ui_rgb_attached(void)
{
if (!headless_mode && p_tgc) {