#BUGFIX by stefan
authorStefan Vogel <sv@exept.de>
Thu, 16 Feb 2017 18:10:46 +0100
changeset 21463 67a7ff4869e0
parent 21462 75671c82df4a
child 21464 bc7542a5c194
#BUGFIX by stefan class: Process changed: #interruptWith: do not raise error when trying to register interrupt for dead process
Process.st
--- a/Process.st	Thu Feb 16 14:48:10 2017 +0100
+++ b/Process.st	Thu Feb 16 18:10:46 2017 +0100
@@ -936,7 +936,8 @@
         aBlock value
     ] ifFalse:[
         self isDead ifTrue:[    
-            self error:'trying to register interrupt for dead process'.
+            "/ trying to register interrupt for dead process.
+            ^ self.
         ].    
         self addInterruptAction:aBlock.
         Processor scheduleForInterrupt:self.
@@ -952,7 +953,7 @@
     "
 
     "Modified: / 12-01-1997 / 00:52:05 / cg"
-    "Modified: / 14-02-2017 / 21:32:18 / stefan"
+    "Modified: / 16-02-2017 / 18:09:38 / stefan"
 !
 
 onResumeDo:aBlock