Re: Right method to exit/dispose on linux
Posted by
gouessej on
Feb 10, 2014; 9:11am
URL: https://forum.jogamp.org/Right-method-to-exit-dispose-on-linux-tp4031504p4031521.html
If you want to exit cleanly, close the GLWindow before calling System.exit(). If you get a crash, please try to reproduce your problem with an existing test case and then fill a bug report.
You can put this loop into the main method too, it's a bit similar to what is done in Ardor3D.