| 510 | } |
| 511 | |
| 512 | void CScriptEngine::close() |
| 513 | { |
| 514 | if (m_virtual_machine) |
| 515 | { |
| 516 | // Msg("[CScriptStorage] Closing LuaJIT - start"); |
| 517 | lua_close(m_virtual_machine); // Вот тут закрывается LuaJIT. |
| 518 | // Msg("[CScriptStorage] Closing LuaJIT - end"); |
| 519 | m_virtual_machine = nullptr; |
| 520 | } |
| 521 | } |
| 522 | |
| 523 | void CScriptEngine::reinit(lua_State* LSVM) |
| 524 | { |
no test coverage detected