#OTHER by cg
authorClaus Gittinger <cg@exept.de>
Tue, 20 Jun 2017 13:36:14 +0200
changeset 21855 01676c1d34a1
parent 21854 499d79927278
child 21856 8a95e50f7005
#OTHER by cg in ignoreIn: return the default resume value instead of nil.
Signal.st
--- a/Signal.st	Tue Jun 20 13:36:12 2017 +0200
+++ b/Signal.st	Tue Jun 20 13:36:14 2017 +0200
@@ -985,12 +985,12 @@
 
 ignoreIn:aBlock
     "evaluate the argument, aBlock.
-     Ignore the receiver-signal during evaluation - i.e. simply continue.
+     Ignore the receiver-signal during evaluation - i.e. simply continue with the default resume value.
      This makes only sense for some signals, such as UserInterrupt
      or AbortOperationRequest, because continuing after an exception without any cleanup
      often leads to followup-errors."
 
-     ^ self handle:[:ex | ex proceedWith:nil] do:aBlock.
+     ^ self handle:[:ex | ex proceed] do:aBlock.
 
      "
       Object messageNotUnderstoodSignal ignoreIn:[
@@ -999,6 +999,7 @@
      "
 
     "Modified (comment): / 24-02-2017 / 11:15:55 / stefan"
+    "Modified (comment): / 20-06-2017 / 13:35:10 / cg"
 ! !
 
 !Signal class methodsFor:'documentation'!