more robust;
authorwenzelm
Mon, 13 Jul 2020 23:23:35 +0200
changeset 72033 70bfda10f597
parent 72032 a25c7c686176
child 72034 452073b64f28
more robust;
src/Pure/ML/ml_statistics.ML
--- a/src/Pure/ML/ml_statistics.ML	Mon Jul 13 23:10:47 2020 +0200
+++ b/src/Pure/ML/ml_statistics.ML	Mon Jul 13 23:23:35 2020 +0200
@@ -106,6 +106,6 @@
        TextIO.flushOut TextIO.stdOut;
        OS.Process.sleep (Time.fromReal delay);
        loop ());
-  in loop () end;
+  in loop () handle Interrupt => OS.Process.exit OS.Process.success end;
 
 end;