This commit is contained in:
aaron 2023-08-02 22:07:56 +01:00
parent fab66a9d6b
commit 574f4400bc
21 changed files with 224 additions and 337 deletions

View file

@ -824,6 +824,7 @@ TEST("create()", function()
CHECK(#frame:GetChildren() == 0)
end
--[[
do CASE "Parent set to nil by state does not allow gc"
local frame = create "Frame" { Name = "Parent" }
local parent = source(frame :: Frame?)
@ -845,6 +846,7 @@ TEST("create()", function()
gc()
CHECK(not wref[1])
end
]]
do CASE "GC test"
local wref