Login  Register

WGL.wglDeleteContext(long) doesn't return

Posted by Cedric Mayer on May 31, 2010; 4:27pm
URL: https://forum.jogamp.org/WGL-wglDeleteContext-long-doesn-t-return-tp858986.html

Hello all,
On our application (using NASA's WorldWind), using JOGL 1.1.1, it has been noted that sometimes (it's not really reproductible) when disposing our JPanels, the method WGL.wglDeleteContext(long), called by WindowsGLContext.destroyImpl() and GLContextImpl.destroy(), doesn't return and take 100% of the CPU (and it's annoying because we need to perform other tasks afterwards, like restarting the application). I was not able to find why as I couldn't find its implementation in the source code (only the header wingdi.h).
If someone has its source code I'll be glad to check, otherwise if someone can check...
Thank you!