mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
New stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15286 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3409e09460
commit
2bf71f97c7
8 changed files with 318 additions and 82 deletions
|
@ -343,13 +343,15 @@ con_loop (id prx)
|
|||
id cobj;
|
||||
|
||||
arp = [NSAutoreleasePool new];
|
||||
[prx addObject: [NSObject new]]; // So loss of this connection is logged.
|
||||
cobj = [prx connectionForProxy];
|
||||
printf("%d\n", [cobj retainCount]);
|
||||
printf("%s\n", [[[cobj statistics] description] cString]);
|
||||
//printf("%s\n", GSDebugAllocationList(YES));
|
||||
|
||||
printf("loop left running idle for 30 seconds\n");
|
||||
[[NSRunLoop currentRunLoop] runUntilDate:
|
||||
[NSDate dateWithTimeIntervalSinceNow: 2 * 60]];
|
||||
[NSDate dateWithTimeIntervalSinceNow: 30]];
|
||||
[cobj invalidate];
|
||||
[arp release];
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue