stop() method does not work

Hi, I would like to perform some operations before quitting a sketch. I found on forums that method stop() is called before the application quits. I tried it, but it seems to me it is never called. Here follows a minimal (not working) example.

void setup() { size(100,100); println("start"); } void draw() { //nothing here } void stop() { println("called stop()"); }

Tagged:

Answers

Sign In or Register to comment.