Commit before replacing GC* with std::shared_ptr<GC>

This commit is contained in:
2026-04-30 10:07:14 -05:00
parent 63b00ebbcb
commit fca18e63a6
9 changed files with 454 additions and 610 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ namespace Tesses::CrossLang
{
auto _item=std::get<THeapObjectHolder>(obj).obj;
this->gc->BarrierBegin();
for(auto item : this->items)
{
if(item == _item) {
@@ -70,4 +70,4 @@ namespace Tesses::CrossLang
this->gc->UnsetRoot(this);
gc->BarrierEnd();
}
}
}