Commit Graph
3 Commits
Author SHA1 Message Date
andrey 4d2c268710 fix(piluaprogram): add destructor to close Lua state
luaL_newstate() allocates a Lua state (~2-4 MB with libraries)
in the constructor, but there was no destructor to call lua_close().
Every PILuaProgram instance leaked its entire Lua state.
Add ~PILuaProgram() that calls lua_close(PRIVATE->lua_state).
2026-08-10 16:26:13 +03:00
peri4 c2b8a8d6da code format 2022-12-14 14:13:52 +03:00
peri4 ccd6a9888f tree changes 2020-08-19 00:47:05 +03:00