more uniform and Java-conformant: change of handler is non-blocking and interrupts should not be exposed prematurely (reverting 220d19f3e074);
authorwenzelm
Mon, 06 Apr 2020 19:33:29 +0200
changeset 71709 b4b973a7df45
parent 71708 dd9fc8a3036c
child 71710 2e2948a07f91
more uniform and Java-conformant: change of handler is non-blocking and interrupts should not be exposed prematurely (reverting 220d19f3e074);
src/Pure/Concurrent/isabelle_thread.scala
--- a/src/Pure/Concurrent/isabelle_thread.scala	Mon Apr 06 14:03:58 2020 +0200
+++ b/src/Pure/Concurrent/isabelle_thread.scala	Mon Apr 06 19:33:29 2020 +0200
@@ -162,7 +162,6 @@
     finally {
       handler = old_handler
       if (clear_interrupt) interrupt
-      Exn.Interrupt.expose()
     }
   }
 }