We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1a123d commit 668bb06Copy full SHA for 668bb06
core/src/processing/core/PGraphics.java
@@ -719,6 +719,7 @@ protected void allocate() { }
719
* endRaw(), in order to shut things off.
720
*/
721
public void dispose() { // ignore
722
+ parent = null;
723
}
724
725
core/src/processing/opengl/PGL.java
@@ -408,6 +408,8 @@ public PGL(PGraphicsOpenGL pg) {
408
409
410
public void dispose() {
411
+ graphics = null;
412
+ sketch = null;
413
destroyFBOLayer();
414
415
0 commit comments