bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #27128] rootProxy cannot be called twice on an NSConnection


From: Richard Frith-Macdonald
Subject: [bug #27128] rootProxy cannot be called twice on an NSConnection
Date: Sat, 03 Oct 2009 15:38:59 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9

Update of bug #27128 (project gnustep):

                  Status:               Need Info => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

> So should the rootProxy docs say ... "The returned proxy is not retained by
the
> receiver. If it is deallocated the connection that supplied it is
invalidated"? 

No, I think, while the proxy may be autoreleased and deallocated, as long as
the connection itsself is retained, it should be possible to call -rootproxy
on it again and get a new proxy object.

I've modified the NSConnection code so that if the proxy on one end of the
connection is deallocated, the object at the other end does not get
deallocated if it happens to be the root object.  This should solve the
problem.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27128>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]