Login  Register

Re: Right method to exit/dispose on linux

Posted by elect on Feb 10, 2014; 5:18am
URL: https://forum.jogamp.org/Right-method-to-exit-dispose-on-linux-tp4031504p4031520.html

Xerxes Rånby wrote
If you want your application to keep running after main has exited then you should have spawned a new thread that keeps your application alive.
You can if you want keep the main thread alive in a loop that wait untill the glwindow has closed.
Which way would be the best and why...