> I have a suspicion - but I don't have the time to look into it deeply
> enough to confirm it now - anyway - here is a quickly hacked patch - it
> might help you.

Yes, this helped greatly, thanks. But...

I had to realize that my compiler hasn't compiled IMConnectors after removing  
my patch :-( This lead me to the wrong assumption that your first patch fixed  
my first problem. It didn't.
Now it is clear that the patch, I proposed for IMConnectors is still important  
(no retain on _destination).
Sorry for the confusion.

I try to explain my test results:
With the retain, the (observed) objects loaded from a gmodel file have a  
retainCount = 2. On OpenStep retainCount = 1.
Without the retain in IMConnectors, the retainCounts are the same as on  
OpenStep (1), and eg. closing a window results in deallocating objects as  
expected.
I don't get any crash resulting from that change, so I'm pretty sure now that  
my patch does exactly the right thing.

Georg

_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to