mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:09:51 +01:00
compositor: minor cleanup
This commit is contained in:
parent
942ee943f5
commit
ebc5fed9b2
1 changed files with 2 additions and 3 deletions
|
@ -12,11 +12,10 @@
|
|||
int handleCritSignal(int signo, void* data) {
|
||||
Debug::log(LOG, "Hyprland received signal %d", signo);
|
||||
|
||||
if (signo == SIGTERM || signo == SIGINT || signo == SIGKILL) {
|
||||
if (signo == SIGTERM || signo == SIGINT || signo == SIGKILL)
|
||||
g_pCompositor->cleanup();
|
||||
}
|
||||
|
||||
return 0; // everything went fine
|
||||
return 0;
|
||||
}
|
||||
|
||||
void handleUnrecoverableSignal(int sig) {
|
||||
|
|
Loading…
Reference in a new issue