#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Sat, 05 Nov 2016 12:09:08 +0100
changeset 20827 efb00b398fc8
parent 20826 1d49eb5d790f
child 20828 1d6a3001e15b
#BUGFIX by cg class: Smalltalk comment/format in: #mainStartup: changed: #lateOpenDisplay should not fiddle around with Processor's exitWhenNoMoreUserProcesses setting.
Smalltalk.st
--- a/Smalltalk.st	Sat Nov 05 12:03:00 2016 +0100
+++ b/Smalltalk.st	Sat Nov 05 12:09:08 2016 +0100
@@ -3814,7 +3814,7 @@
     Smalltalk openDisplay.
     Display notNil ifTrue:[ 
         Display exitOnLastClose:true.
-        Processor exitWhenNoMoreUserProcesses:true.
+        "/ Processor exitWhenNoMoreUserProcesses:true.
     ].            
 !
 
@@ -4003,7 +4003,8 @@
     ((Display notNil and:[graphicalMode])
      or:[process notNil
      or:[HeadlessOperation
-     or:[StandAlone]]]) ifTrue:[
+     or:[StandAlone]]]
+    ) ifTrue:[
         Processor exitWhenNoMoreUserProcesses:true.
         Processor dispatchLoop.
         "done - the last process finished"