]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[main] remove displays before closing renderer
authorRay Strode <rstrode@redhat.com>
Thu, 8 Oct 2009 19:40:16 +0000 (15:40 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 8 Oct 2009 19:40:16 +0000 (15:40 -0400)
src/main.c

index 6f8c6bd2817c76695320b9c725d5dac6ed245bc2..c309fab253743cbc6d4302b31471d88d727f5df2 100644 (file)
@@ -604,6 +604,9 @@ quit_splash (state_t *state)
       state->boot_splash = NULL;
     }
 
+  ply_trace ("removing displays and keyboard");
+  remove_displays_and_keyboard (state);
+
   if (state->renderer != NULL)
     {
       ply_renderer_close (state->renderer);
@@ -618,9 +621,6 @@ quit_splash (state_t *state)
       state->terminal = NULL;
     }
 
-  ply_trace ("removing displays and keyboard");
-  remove_displays_and_keyboard (state);
-
   if (state->session != NULL)
     {
       ply_trace ("detaching session");