]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[main] Disconnect from tty when hiding splash
authorRay Strode <rstrode@redhat.com>
Thu, 8 Oct 2009 19:22:27 +0000 (15:22 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 8 Oct 2009 19:22:27 +0000 (15:22 -0400)
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.

src/main.c

index 31f2b1e29d007599bb2f00088d7ab1c30938647d..6f8c6bd2817c76695320b9c725d5dac6ed245bc2 100644 (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;
 }