Fix for when sway_abort doesn't exit

sway_terminate does an exit in case wlc_terminate doesn't
This commit is contained in:
Yacine Hmito 2016-02-25 23:13:27 +01:00
parent 8db417fafe
commit c400ca8f88
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ static bool terminate_request = false;
void sway_terminate(void) {
terminate_request = true;
wlc_terminate();
exit(EXIT_FAILURE);
}
void sig_handler(int signal) {