|
From: | Christopher Roberts |
Subject: | DOs, NSConnections, rootObjects, and retain counts |
Date: | Tue, 12 May 2009 21:15:24 -0400 |
When clients are connected, and the server shuts down, it invalidates the server connection, killing all client connections. Both sides receive notifications of this event, however, the retain count of the rootObject is not released properly, and thus is not deallocated before the program exits.
Like wise, with the server running, if a client dies, there is a 3 - 5 second delay before the rootObject is released properly. I'm assuming the server shutdown problem is associated with this delay as well. What is causing this delay? This really doesn't cause any trouble with the function of the application, but I'm definitely not leaving it alone until I understand why this is happening.
Thanks, Chris
[Prev in Thread] | Current Thread | [Next in Thread] |