issues
search
gudzpoz
/
luajava
Lua for Java on Windows, Mac OS X, Linux, Android. 5.1, 5.2, 5.3, 5.4, LuaJ or LuaJIT.
https://gudzpoz.github.io/luajava/
Other
154
stars
21
forks
source link
Allow garbage collecting proxies, values and threads
#34
Closed
gudzpoz
closed
2 years ago
gudzpoz
commented
2 years ago
Uses
finalize
hook to garbage
unref
LuaProxies
and
LuaValues
.
Lua#close
now removes the reference in the global registry to the sub-thread.
Added
java.detach
to call
Lua#close
from the Lua side for Lua created threads.
finalize
hook to garbageunref
LuaProxies
andLuaValues
.Lua#close
now removes the reference in the global registry to the sub-thread.java.detach
to callLua#close
from the Lua side for Lua created threads.