about summary refs log tree commit diff stats
path: root/app.lua
diff options
context:
space:
mode:
Diffstat (limited to 'app.lua')
-rw-r--r--app.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.lua b/app.lua
index ac8e709..f59897c 100644
--- a/app.lua
+++ b/app.lua
@@ -53,7 +53,8 @@ function handle_error(err)
     App.undo_initialize()
     App.run_tests_and_initialize()
   else
-    if App.disable_tests then App.disable_tests() end
+    -- abort without running love.quit handler
+    Disable_all_quit_handlers = true
     love.event.quit()
   end
 end