Re: Bug 540 - Mac Os X Instability - Crashes when disposing NEWT Window (.. and after Applet shutdown)
Posted by Sven Gothel on Dec 21, 2011; 8:59pm
URL: https://forum.jogamp.org/Bug-540-Mac-Os-X-Instability-Crashes-when-disposing-NEWT-Window-and-after-Applet-shutdown-tp3602598p3605163.html
On Wednesday, December 21, 2011 07:26:20 PM gouessej [via jogamp] wrote:
>
> Do you know any good tutorial explaining how the windowing works on Mac OS X?
Just the weakisch online docs from Apple and what you can google :)
In theory .. retain/release should work fine,
but in case of the CALayer we use, relying on release cause the actual release
of our NSGLLayer only at applet shutdown .. Just an example.
> Maybe the container releases its children itself, this is just a
> supposition.
It does, however, if none is in there .. :)
I will try this out ofc, ie leaving the view in at final destruction.
We still have related instabilities and need a proper review though.
Guess it needs a bit time to make it rock solid.
~Sven