MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / ~LuaHandle

Method ~LuaHandle

src/lua/LuaHandle.cpp:104–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103
104LuaHandle::~LuaHandle() {
105 eventHandler.RemoveClient(this);
106
107 // free the lua state
108 KillLua();
109
110 /*
111 std::string msg = GetName();
112 if (!requestMessage.empty()) {
113 msg += ": " + requestMessage;
114 }
115 LuaLog(1, "Disabled %s", msg.c_str());
116 */
117}
118
119
120void LuaHandle::KillLua() {

Callers

nothing calls this directly

Calls 1

RemoveClientMethod · 0.80

Tested by

no test coverage detected