Now that we use the standard resolution observer mechanism, we need to

decrement the reference count of the client object as it is normally
incremented for every resolution listener.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4248 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-07-05 22:29:38 +00:00
parent 77290fc1a6
commit e492f09bee
@@ -272,6 +272,12 @@ public class ClientManager
// documentation inherited from interface ClientResolutionListener
public synchronized void clientResolved (Name username, ClientObject clobj)
{
// because we added ourselves as a client resolution listener, the
// client object reference count was increased, but we're not a real
// resolver (who would have to call releaseClientObject() to release
// their reference), so we release our reference immediately
clobj.release();
// stuff the object into the mapping table
_objmap.put(username, clobj);