MCPcopy Create free account
hub / github.com/cuberite/cuberite / Unreference

Method Unreference

src/Bindings/PluginLua.cpp:1701–1705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1699
1700
1701void cPluginLua::Unreference(int a_LuaRef)
1702{
1703 cCSLock Lock(m_CriticalSection);
1704 luaL_unref(m_LuaState, LUA_REGISTRYINDEX, a_LuaRef);
1705}
1706
1707
1708

Callers 3

SetOnClosingMethod · 0.80
SetOnSlotChangedMethod · 0.80
DestroyMethod · 0.80

Calls 1

luaL_unrefFunction · 0.85

Tested by

no test coverage detected