| 102 | |
| 103 | |
| 104 | LuaHandle::~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 | |
| 120 | void LuaHandle::KillLua() { |
nothing calls this directly
no test coverage detected