call PApplet.exit() in windowDestroyNotify(), fixes #4156

This commit is contained in:
codeanticode
2015-12-08 15:21:47 -05:00
parent c6eccf830a
commit e2033b5644
+1 -2
View File
@@ -938,8 +938,7 @@ public class PSurfaceJOGL implements PSurface {
@Override
public void windowDestroyNotify(com.jogamp.newt.event.WindowEvent arg0) {
sketch.dispose();
sketch.exitActual();
sketch.exit();
}
@Override