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:
rfm 2016-07-12 11:15:43 +00:00
parent 5745b4fc72
commit d43a2099e3

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.
*/