Skip to main content

reset_thread

Function reset_thread 

Source
pub fn reset_thread(state: &mut LuaState, status: i32) -> i32
Expand description

Reset a thread to its base state, closing all to-be-closed variables.

Returns the final status code as an i32 (mirrors the C API).