aboutsummaryrefslogtreecommitdiff
path: root/src/lj_dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_dispatch.c')
-rw-r--r--src/lj_dispatch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_dispatch.c b/src/lj_dispatch.c
index a78075a7..d76dda41 100644
--- a/src/lj_dispatch.c
+++ b/src/lj_dispatch.c
@@ -357,6 +357,7 @@ static void callhook(lua_State *L, int event, BCLine line)
357 hook_enter(g); 357 hook_enter(g);
358 hookf(L, &ar); 358 hookf(L, &ar);
359 lua_assert(hook_active(g)); 359 lua_assert(hook_active(g));
360 setgcref(g->cur_L, obj2gco(L));
360 hook_leave(g); 361 hook_leave(g);
361 } 362 }
362} 363}