smalltalk
/
osmo-st-core
Archived
1
0
Fork 0

timer: Implement the shutdown for GNU Smalltalk too.

This commit is contained in:
Holger Hans Peter Freyther 2014-07-27 09:41:15 +02:00
parent f5c5febae8
commit 5c7b52662c
1 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,12 @@ bit difficult to do this race free.'>
doShutDown [
"Nothing for GST"
loop ifNil: [^self].
quit := true.
loop isSuspended ifTrue: [loop resume].
delay ifNotNil: [:the_delay | the_delay signal].
processExited wait.
Transcript nextPutAll: 'Stopped the TimerScheduler process'; cr
]
dispatchTimers [