bug-gnustep
[Top][All Lists]
Advanced

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

Re: Fix, IMConnectors, establishConnection


From: Georg Fleischmann
Subject: Re: Fix, IMConnectors, establishConnection
Date: Thu, 12 Apr 2001 21:19:02 +0200

> 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



reply via email to

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