> On Apr 3, 2016, at 04:55 , Christiaan Hofman <cmhof...@gmail.com> wrote:
> 
> I think I found the problem. In several init implementations, when the 
> receiver is discarded, it calls [super dealloc] to clean up the discarded 
> self. That’s dangerous, dealloc should never be called except from a dealloc 
> override. It looks replacing these calls by [self release] (and making some 
> dealloc implementations safer to be called by uninitialized objects) and let 
> the object be cleaned up automatically gets rid of the crashes. 

It's been a long time since I looked at it, so I don't recall why I used that. 
Probably because of this recommendation from Apple's Obj-C runtime guy:

http://lists.apple.com/archives/ObjC-Language/2008/Sep/msg00133.html


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to