mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Improve load in foreground
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25247 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
76a69ab66f
commit
94439e8926
3 changed files with 11 additions and 4 deletions
|
@ -481,7 +481,7 @@ static Class NSURLHandleClass = 0;
|
|||
NSDate *limit;
|
||||
|
||||
limit = [[NSDate alloc] initWithTimeIntervalSinceNow: 1.0];
|
||||
[loop runUntilDate: limit];
|
||||
[loop runMode: NSDefaultRunLoopMode beforeDate: limit];
|
||||
RELEASE(limit);
|
||||
}
|
||||
return _data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue