MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / collect_all_garbage

Method collect_all_garbage

ogsr_engine/COMMON_AI/script_engine.cpp:315–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void CScriptEngine::collect_all_garbage()
316{
317 lua_gc(lua(), LUA_GCCOLLECT, 0);
318 lua_gc(lua(), LUA_GCCOLLECT, 0);
319 lua_gc(lua(), LUA_GCCOLLECT, 0);
320 lua_gc(lua(), LUA_GCCOLLECT, 0);
321}
322
323//*********************************************************************************************
324void CScriptEngine::dump_state()

Callers 2

remove_objectsMethod · 0.80
net_StopMethod · 0.80

Calls 2

lua_gcFunction · 0.85
luaFunction · 0.85

Tested by

no test coverage detected