this should be how we want it to work

This commit is contained in:
Ben Fry
2015-05-19 14:44:19 -04:00
parent e57c5cd8a6
commit 9ab388d64d

View File

@@ -88,14 +88,8 @@ public class ThinkDifferent {
application.setQuitHandler(new QuitHandler() {
public void handleQuitRequestWith(QuitEvent event, QuitResponse response) {
sketch.exit();
response.performQuit();
/*
if (base.handleQuit()) {
response.performQuit();
} else {
response.cancelQuit();
}
*/
response.cancelQuit(); // we'll quit manually
//response.performQuit(); // can't just quit out willy nilly
}
});