code: private void destroyLWJGL() {
        container.stopApplet();
        
        try {
           gameThread.join();
        } catch (InterruptedException e) {
           Log.error(e);
        }
     }
docs: Clean up the LWJGL resources