diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-14 18:07:52 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-14 18:07:52 +0100 |
commit | 9e0df13ec7f54813129f5f9851cb233445455608 (patch) | |
tree | b2b0961502901135f7e620fda1fe55ac14ee2cbe | |
parent | 931f2a21d6ba8af97cfe9ffc1020272bc97a7afe (diff) |
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.
-rw-r--r-- | Timer.st | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ Object subclass: Timer [ <category: 'management'> "Remember that the timer is gone." schedule := nil. + block := nil. ] isCanceled [ |