Console.debug("Running shutdown hook");
if (QuitHandler.gotQuitResponse() == QResponse.CANCEL_QUIT)
{
+ // Got to here by a SIGTERM signal.
+ // Note we will not actually cancel the quit from here -- it's too
+ // late -- but we can wait for saving files.
Console.debug("Checking for saving files");
QuitHandler.getQuitResponse(false);
}