Merge branch 'tg/0.4__improve_liveleak.lua' into maint-0.4