That PWindow::exit() method is never called back.
Instead, move that exit() to the main sketch PApplet in order to avoid that “ThreadDeath”:
@Override void exit() {
win.dispose();
super.exit();
}
That PWindow::exit() method is never called back.
Instead, move that exit() to the main sketch PApplet in order to avoid that “ThreadDeath”:
@Override void exit() {
win.dispose();
super.exit();
}