Login  Register

Re: Crash of VM when laptop hibernates

Posted by Pol Magermans on May 26, 2015; 2:22pm
URL: https://forum.jogamp.org/Crash-of-VM-when-laptop-hibernates-tp4034402p4034522.html

Hi Julien,

Unfortunately, My app does require java2d within jFreeChart, I tried d3d false and noddraw true earlier but it disables my curve drawing features.

Nevertheless, I managed to by-pass the hibernate crash using the following hack:

In JoglPipeline.useCtx(Context, Drawable), I catch GLException thrown by context.makeCurrent() and do nothing if thrown
in JoglPipeline.releaseContext(Context), I catch Throwable thrown by context.release() and do nothing with it.

I haven't seen any side effect so far, but I'll keep an eye on it and eventually come back to you.

thanks anyway
Pol.