[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: [bug] ObjectMemory quit waits for ever
From: |
Paolo Bonzini |
Subject: |
[Help-smalltalk] Re: [bug] ObjectMemory quit waits for ever |
Date: |
Sun, 06 Jan 2008 10:08:01 -0700 |
Issue status update for
http://smalltalk.gnu.org/project/issue/152
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/152
Project: GNU Smalltalk
Version: <none>
Component: Base classes
Category: bug reports
Priority: normal
-Assigned to: Unassigned
+Assigned to: bonzinip
Reported by: tonyg
Updated by: bonzinip
Status: active
The loop is continuing but stdin/stdout/stderr have been closed. I will
change this to flushing stdin/stdout/stderr and closing the others.
Adding a Process>>#update: message like this (and calling it in the
program) fixes it, I will also do it.
Process extend [
update: aSymbol [
aSymbol == #aboutToQuit ifTrue: [ self terminate ]
]
terminateOnQuit [
ObjectMemory addDependent: self
]
]
The default behavior however is not going to change for backwards
compatibility.
Thanks!