Open
Description
Description
Calling exit() using FX2D renderer doesn’t stop the program.
Expected Behavior
When exit() is called in the program the Java app doesn't properly shut down, and throws an error: Not on FX application thread; currentThread = JavaFX Application Thread. The only way to fully exit the sketch is to stop it from within the IDE.
It seems that this only affects Mac users.
Current Behavior
Steps to Reproduce
void setup() {
size(100,100,FX2D);
exit();
}
Your Environment
- Processing version: 3.4
- Operating System and OS version: MacOS High Sierra
- Other information: MacBook Air