From d8835ebfd35724dd12ec6e6a4c7b303996a37066 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 8 Oct 2009 15:33:40 -0400 Subject: [PATCH] [terminal] Only close terminal on free when open We were closing the terminal twice, causing assertions to blow. --- src/libplybootsplash/ply-terminal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libplybootsplash/ply-terminal.c b/src/libplybootsplash/ply-terminal.c index 462a4c65..8147e867 100644 --- a/src/libplybootsplash/ply-terminal.c +++ b/src/libplybootsplash/ply-terminal.c @@ -499,7 +499,8 @@ ply_terminal_free (ply_terminal_t *terminal) ply_terminal_detach_from_event_loop, terminal); - ply_terminal_close (terminal); + if (terminal->is_open) + ply_terminal_close (terminal); free (terminal); } -- 2.47.3