mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
This commit is contained in:
parent
fab66a9d6b
commit
574f4400bc
21 changed files with 224 additions and 337 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue