On 6 Sep 2006, at 14:31, Wim Oudshoorn wrote:
So it seems that an NSConnection is deallocated but still exists in
the connection_table.
Looking at the NSConnection code, a connection is added to this
table in the
-init... method, and removed in the -invalidate method.
<snip>
To me this looks not very thread safe. So I see if garding this
with the _refGate works. But because it is so tricky to reproduce
(any logging seems to make the bug disappear) it is hard to confirm
if the fix is enough.
Thanks ... well spotted.
I've modified the -release method to protect the check of the retain
count using the connection table lock as you suggest.
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep