about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--app.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.lua b/app.lua
index 725d380..ac8e709 100644
--- a/app.lua
+++ b/app.lua
@@ -53,6 +53,7 @@ function handle_error(err)
     App.undo_initialize()
     App.run_tests_and_initialize()
   else
+    if App.disable_tests then App.disable_tests() end
     love.event.quit()
   end
 end