Processing stop button doesn't close sketch window


I expected that the sketch window would close when the stop button is pressed, as I believe it does with Java and p5 sketches. However, that does not seem to be the case with python sketches.

Is this expected behavior or is there something special that needs to be done?

Thank you!

Welcome @TipTop

Could you tell us what operating system and Processing version you are using? If you’re using Python Mode, stick to Processing 3.5.4 for now.


Hi @tabreturn. I am on macOS 10.15.7, using Processing 4. I’ll get 3.5.4 and give it a try. Thank you very much!