Oops. Fixed memory leak in FrameInterval by calling cancel if we're not repeating.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3794 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -41,6 +41,7 @@ public abstract class FrameInterval
|
|||||||
_nextTime += _repeatDelay;
|
_nextTime += _repeatDelay;
|
||||||
} else {
|
} else {
|
||||||
_nextTime = -1;
|
_nextTime = -1;
|
||||||
|
cancel();
|
||||||
}
|
}
|
||||||
expired();
|
expired();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user