# HG changeset patch # User Stefan Vogel # Date 1537987960 -7200 # Node ID 739e979f034d2283561df4c21bd29a77916d3275 # Parent 630f605b996045abba694910b1fb35ed6182375c #BUGFIX by stefan class: OSProcess changed: #startProcess catch errors when terminateAction is executed in ProcessorScheduler diff -r 630f605b9960 -r 739e979f034d OSProcess.st --- a/OSProcess.st Tue Sep 25 17:02:49 2018 +0200 +++ b/OSProcess.st Wed Sep 26 20:52:40 2018 +0200 @@ -1,5 +1,3 @@ -"{ Encoding: utf8 }" - "{ Package: 'stx:libbasic' }" "{ NameSpace: Smalltalk }" @@ -848,8 +846,11 @@ finishSema signal. terminateActionBlock notNil ifTrue:[ - callingProcess isDead ifTrue:[ - terminateActionBlock valueWithOptionalArgument:status and:self. + callingProcess isDead ifTrue:[ + Error catch:[ + "don't bother ProcessorScheduler with errors from terminateActionBlock!!" + terminateActionBlock valueWithOptionalArgument:status and:self. + ]. ] ifFalse:[ callingProcess interruptWith:[ @@ -897,8 +898,8 @@ ^ true. - "Modified: / 24-05-2018 / 17:58:40 / Stefan Vogel" "Modified: / 21-06-2018 / 19:01:38 / Claus Gittinger" + "Modified (format): / 26-09-2018 / 18:43:12 / Stefan Vogel" ! ! !OSProcess methodsFor:'terminating'!