From ae7373cdbc362fb861992178b02dfc19a2f5ead5 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Wed, 13 May 2009 00:42:24 +0000 Subject: [PATCH] Might as well stop the timer if we're cleared. It's the closest thing to a shutdown. I've got half a mind to write a LinkedHashMap, and then an ExpiringHashMap on top of that, and then have ExpiringHashSet just utilize that in its internals. But, YAGNI, for now... for now... git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5784 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/ExpiringSet.as | 1 + 1 file changed, 1 insertion(+) diff --git a/src/as/com/threerings/util/ExpiringSet.as b/src/as/com/threerings/util/ExpiringSet.as index c615a29be..dc42bdc3d 100644 --- a/src/as/com/threerings/util/ExpiringSet.as +++ b/src/as/com/threerings/util/ExpiringSet.as @@ -61,6 +61,7 @@ public class ExpiringSet extends EventDispatcher { // simply trunate the data array _data.length = 0; + _timer.stop(); } // from Set