mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
5745b4fc72
commit
d43a2099e3
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue