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
This commit is contained in:
Ray Greenwell
2009-05-13 00:42:24 +00:00
parent 42f7ce23ac
commit ae7373cdbc
@@ -61,6 +61,7 @@ public class ExpiringSet extends EventDispatcher
{
// simply trunate the data array
_data.length = 0;
_timer.stop();
}
// from Set