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

timer: Forget about the block to help the GC

After a timer has been canceled we can forget about the block
that was supposed to be canceled. It is only a matter of time
until the timer will be discarded by the TimerScheduler.
This commit is contained in:
Holger Hans Peter Freyther 2014-03-14 18:07:52 +01:00
parent 931f2a21d6
commit 9e0df13ec7
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ Object subclass: Timer [
<category: 'management'>
"Remember that the timer is gone."
schedule := nil.
block := nil.
]
isCanceled [