mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
call PApplet.exit() in windowDestroyNotify(), fixes #4156
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user