mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 11:19:17 +02:00
Don't unwatch a signal if there is no loop
This commit is contained in:
parent
36e3dd8abe
commit
4f7a0dbfac
1 changed files with 2 additions and 1 deletions
|
|
@ -387,7 +387,8 @@ ply_window_close (ply_window_t *window)
|
|||
window->tty_fd_watch = NULL;
|
||||
}
|
||||
|
||||
ply_event_loop_stop_watching_signal (window->loop, SIGWINCH);
|
||||
if (window->loop != NULL)
|
||||
ply_event_loop_stop_watching_signal (window->loop, SIGWINCH);
|
||||
|
||||
ply_window_set_buffered_input (window);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue