Last active
March 26, 2016 18:09
-
-
Save jsundram/29d5449069d40e59b595 to your computer and use it in GitHub Desktop.
Trying to figure out when a sketch was closed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup(){ | |
println("setup"); | |
} | |
void draw(){ | |
} | |
void stop(){ | |
// doesn't seem to ever get called | |
println("stop"); | |
} | |
void dispose(){ | |
// gets called when window is closed, yay, but not when "Stop" button is pressed. | |
println("dispose"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment