mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
destroy NEWT window on exit
This commit is contained in:
@@ -297,6 +297,8 @@ public class PSurfaceNEWT implements PSurface {
|
||||
@Override
|
||||
public void windowDestroyNotify(final WindowEvent e) {
|
||||
animator.stop();
|
||||
PSurfaceNEWT.this.sketch.exit();
|
||||
window.destroy();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user