mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
FX: make sure dispose() is called on exit
This commit is contained in:
@@ -337,6 +337,11 @@ public class PSurfaceFX implements PSurface {
|
||||
// the stage, assign it only when it is all set up
|
||||
surface.stage = stage;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stop() throws Exception {
|
||||
surface.sketch.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user