Repository navigation
0.8.0 #218
gilzoide
announced in
Announcements
0.8.0
#218
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Added
LuaStateGC-related methods:collect_garbage,step_gc,stop_gc,restart_gc,is_gc_running,get_memory_used,change_gc_mode_incremental,change_gc_mode_generational,supports_gc_modeVariantvariables in Lua 5.4+ (not supported in LuaJIT).Example:
Fixed
LuaScripts have their_initmethod called when instantiated from sceneVariant.duplicatenow correctly trigger methods in objects that support it, fixing calls toNode.duplicateandResource.duplicatefor exampleLuaScriptLanguage's state to make sure all Variants are collected, releasing cyclic references fromLuaScriptInstance/LuaScriptto theLuaStateitself.E.g.: attaching a Lua script that extends
RefCountedtoNodeobjects now gives an errorLuaScripts using validuid://paths in buildsChanged
LuaScriptInstance's owner object is passed asselfto methods instead of the data table.LuaScriptInstancenow uses a Dictionary for storing data instead of a Lua table.This discussion was created from the release 0.8.0.
All reactions