Reference leak!!!
Reference leak!!!
- Subject: Reference leak!!!
- From: Kiwi <email@hidden>
- Date: Wed, 21 Nov 2001 00:32:17 +0100
Hi
I'm working exclusively with Java.
I notice a very annoying bug while working with Java and Cocoa. Some
Java objects of mine (that my code has instanciated) are garbage
collected when the only remaining reference (references??) is owned by a
Cocoa class instance (that was instanciated when loading a NIB in my
case).
That usually causes "segmentation fault" or "bus error" (how surprising
when working in Java :-) ) and can be solved by keeping another
reference to the involved object in the Java code.
Has anyone more details about this?
Thanks
--
Julien Dufour