[main] Disconnect from tty when hiding splash

We were still processing keystrokes when the splash screen was
hidden. This caused problems because the tty is used by other
programs at that time.
This commit is contained in:
Ray Strode 2009-10-08 15:22:27 -04:00
parent 0bb06a8afa
commit 288c110fa1

View file

@ -549,6 +549,8 @@ remove_displays_and_keyboard (state_t *state)
node = next_node;
}
ply_keyboard_stop_watching_for_input (state->keyboard);
ply_keyboard_free (state->keyboard);
state->keyboard = NULL;
}