In CGL.releaseNSOpenGLLayer(..) we issue [NSOpenGLLayer release] on the main-thread .. and call CVDisplayLinkStop. The latter freezes the application sometimes.
http://jogamp.org/git/?p=jogl.git;a=commit;h=f6e6fab2a7ddfb5c9b614cb072c27ff697629161