mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Quick hack to fix busy wait in run loop
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13228 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3ac2bab295
commit
031118188f
7 changed files with 16 additions and 3 deletions
|
@ -855,7 +855,9 @@ main(int argc, char** argv, char** env)
|
|||
|
||||
if (server != nil)
|
||||
{
|
||||
CREATE_AUTORELEASE_POOL(pool);
|
||||
[[NSRunLoop currentRunLoop] run];
|
||||
RELEASE(pool);
|
||||
}
|
||||
exit(0);
|
||||
}
|
||||
|
|
|
@ -4240,7 +4240,7 @@ printf(
|
|||
fprintf(stderr, "Registration will take place locally.\n");
|
||||
}
|
||||
doregister(optarg, port, ptype);
|
||||
return 0;
|
||||
exit(0);
|
||||
|
||||
case 'T':
|
||||
if (strcmp(optarg, "tcp_gdo") == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue