Skip to main content

Module on_disable

Module on_disable 

Source
Expand description

Node: cxx:Function:Luau.CodeGen:CodeGen/src/CodeGen.cpp:100:on_disable

Disable native code for a proto: point its entry back at bytecode, clear the exec target, and walk every thread’s Lua call stack clearing the LUA_CALLINFO_NATIVE flag on any frame still pointing at this proto.

Functions§

on_disable
on_disable_export