Skip to content

Commit

Permalink
core.engine: jit.tracebarrier() before each app callback
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Nov 5, 2017
1 parent c2da4ae commit bfc8612
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/app.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ end
-- Run app:methodname() in protected mode (pcall). If it throws an
-- error app will be marked as dead and restarted eventually.
function with_restart (app, method)
jit.tracebarrier() -- don't mix engine and apps in traces
local status, result
if use_restart then
-- Run fn in protected mode using pcall.
Expand Down

0 comments on commit bfc8612

Please sign in to comment.