mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 10:11:03 +00:00
([NSTimer +scheduledTimerWithTimeInterval:invocation:repeats:]): Add
to RunLoopDefaultMode, not nil. ([NSTimer +scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:]): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1195 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fae68ecafa
commit
be2ab8f283
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@
|
||||||
id t = [self timerWithTimeInterval: ti
|
id t = [self timerWithTimeInterval: ti
|
||||||
invocation: invocation
|
invocation: invocation
|
||||||
repeats: f];
|
repeats: f];
|
||||||
[[RunLoop currentInstance] addTimer: t forMode: nil];
|
[[RunLoop currentInstance] addTimer: t forMode: RunLoopDefaultMode];
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
selector: selector
|
selector: selector
|
||||||
userInfo: info
|
userInfo: info
|
||||||
repeats: f];
|
repeats: f];
|
||||||
[[RunLoop currentInstance] addTimer: t forMode: nil];
|
[[RunLoop currentInstance] addTimer: t forMode: RunLoopDefaultMode];
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue