invlidate timer when no longer used

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39982 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-07-12 11:15:43 +00:00
parent 103bf4cf97
commit 16925d77b3

View file

@ -77,6 +77,8 @@ int main()
[run runUntilDate: [NSDate distantPast]];
PASS(1 == counter, "-runUntilDate: for distant past fires timer");
[dly invalidate];
/* We run in a custom mode to ensure there are no other timers or
* input sources.
*/