anr: add a note for no pid dialogs
This commit is contained in:
parent
2cfa5d2408
commit
0e24f9c0d5
1 changed files with 5 additions and 0 deletions
|
|
@ -155,6 +155,11 @@ void CANRManager::SANRData::killDialog() const {
|
|||
if (!dialogProc)
|
||||
return;
|
||||
|
||||
if (!dialogProc->pid()) {
|
||||
Debug::log(ERR, "ANR: cannot kill dialogProc, as it doesn't have a pid. If you have hyprutils <= 0.6.0, you will crash soon. Otherwise, dialog failed to spawn??");
|
||||
return;
|
||||
}
|
||||
|
||||
kill(dialogProc->pid(), SIGKILL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue