([Connection +newForInPort:outPort:ancestorConnection:]): Add comment.

I need to fix retain/release for Connection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@462 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-06-29 00:53:34 +00:00
parent 1ac36e68c2
commit 543b27def0

View file

@ -563,7 +563,12 @@ static int messagesReceivedCount;
[ip registerForInvalidationNotification:newConn]; [ip registerForInvalidationNotification:newConn];
[op registerForInvalidationNotification:newConn]; [op registerForInvalidationNotification:newConn];
/* xxx This is weird, though. When will newConn ever get dealloc'ed?
connectionArray will retain it, but connectionArray will never get
deallocated. This sort of retain/release cirularity must be common
enough. Think about this and fix it. */
[connectionArray addObject:newConn]; [connectionArray addObject:newConn];
[connectionArrayGate unlock]; [connectionArrayGate unlock];
return newConn; return newConn;