about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 3220b51..2812dd5 100644
--- a/main.lua
+++ b/main.lua
@@ -113,6 +113,11 @@ function App.initialize(arg)
   if #arg > 1 then
     print('ignoring commandline args after '..arg[1])
   end
+
+  if rawget(_G, 'jit') then
+    jit.off()
+    jit.flush()
+  end
 end  -- App.initialize
 
 function initialize_window_geometry(geometry_spec)