core: Ensure we send SIGTERM only once to the zenity close dialog.
This commit is contained in:
parent
f38c90961a
commit
2d8d9dea97
@ -183,7 +183,10 @@ meta_close_dialog_default_hide (MetaCloseDialog *dialog)
|
||||
}
|
||||
|
||||
if (dialog_default->dialog_pid > -1)
|
||||
kill (dialog_default->dialog_pid, SIGTERM);
|
||||
{
|
||||
kill (dialog_default->dialog_pid, SIGTERM);
|
||||
dialog_default->dialog_pid = -1;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user