connection root object fixup

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28766 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-10-03 15:35:40 +00:00
parent fcc33c1b71
commit e06f2305f0
3 changed files with 40 additions and 14 deletions

View file

@ -610,14 +610,14 @@ int main (int argc, char *argv[], char **env)
}
}
#if 0
#if 1
/* Check that we can retain the connection, release the proxy,
* and then regain the proxy from the connection.
*/
cobj = RETAIN([prx connectionForProxy]);
RELEASE(arp);
arp = [NSAutoreleasePool new];
prx = [cobj rootObject];
prx = [cobj rootProxy];
AUTORELEASE(cobj);
#else
cobj = [prx connectionForProxy];