mirror of
https://github.com/swaywm/sway.git
synced 2024-11-17 13:42:36 +00:00
Fix for when sway_abort doesn't exit
sway_terminate does an exit in case wlc_terminate doesn't
This commit is contained in:
parent
8db417fafe
commit
c400ca8f88
|
@ -25,6 +25,7 @@ static bool terminate_request = false;
|
||||||
void sway_terminate(void) {
|
void sway_terminate(void) {
|
||||||
terminate_request = true;
|
terminate_request = true;
|
||||||
wlc_terminate();
|
wlc_terminate();
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sig_handler(int signal) {
|
void sig_handler(int signal) {
|
||||||
|
|
Loading…
Reference in a new issue