Skip to content

Commit 668bb06

Browse files
committed
set some refs to nukk
1 parent b1a123d commit 668bb06

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

core/src/processing/core/PGraphics.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,7 @@ protected void allocate() { }
719719
* endRaw(), in order to shut things off.
720720
*/
721721
public void dispose() { // ignore
722+
parent = null;
722723
}
723724

724725

core/src/processing/opengl/PGL.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,8 @@ public PGL(PGraphicsOpenGL pg) {
408408

409409

410410
public void dispose() {
411+
graphics = null;
412+
sketch = null;
411413
destroyFBOLayer();
412414
}
413415

0 commit comments

Comments
 (0)