JAL-1988 JAL-3772 Non-blocking modal dialogs for unsaved changes and saving files...
[jalview.git] / src / jalview / bin / Jalview.java
index 3d3e99f..f0477b9 100755 (executable)
@@ -281,6 +281,9 @@ public class Jalview
           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);
           }