From: Ray Strode Date: Thu, 8 Oct 2009 19:40:16 +0000 (-0400) Subject: [main] remove displays before closing renderer X-Git-Tag: 0.8.0~167 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=78d610e82a9eebdce7ab43a6e3acfee1057f6a2c;p=thirdparty%2Fplymouth.git [main] remove displays before closing renderer --- diff --git a/src/main.c b/src/main.c index 6f8c6bd2..c309fab2 100644 --- a/src/main.c +++ b/src/main.c @@ -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");