core: Ensure we send SIGTERM only once to the zenity close dialog.
This commit is contained in:
parent
f38c90961a
commit
2d8d9dea97
1 changed files with 4 additions and 1 deletions
|
@ -183,7 +183,10 @@ meta_close_dialog_default_hide (MetaCloseDialog *dialog)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dialog_default->dialog_pid > -1)
|
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
|
static void
|
||||||
|
|
Loading…
Add table
Reference in a new issue