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.
2 parents e2b1c38 + ac041b9 commit b6e3dceCopy full SHA for b6e3dce
1 file changed
core/src/processing/core/PApplet.java
@@ -3703,8 +3703,7 @@ public void dispose() {
3703
if (platform == MACOSX) {
3704
try {
3705
final String td = "processing.core.ThinkDifferent";
3706
- final Class<?> thinkDifferent =
3707
- Thread.currentThread().getContextClassLoader().loadClass(td);
+ final Class<?> thinkDifferent = getClass().getClassLoader().loadClass(td);
3708
thinkDifferent.getMethod("cleanup").invoke(null);
3709
} catch (Exception e) {
3710
e.printStackTrace();
0 commit comments