Replace time-based GC with allocation-count trigger, migrate all Create factories to GCList::Create(), fix VFSPath root path, reorder TObject variant

This commit is contained in:
2026-09-01 06:04:58 -05:00
parent 2430b62232
commit c1c3d02bf0
8 changed files with 25 additions and 42 deletions
+2 -2
View File
@@ -2292,9 +2292,9 @@ bool InterperterThread::ExecuteMethod2(std::shared_ptr<GC> gc, TObject instance,
}
if (key == "RegisterClass") {
if ((myEnv->permissions.canRegisterEverything ||
myEnv->permissions.canRegisterClass) &&
myEnv->permissions.canRegisterZeClass) &&
!rootEnv->permissions.locked)
TStd::RegisterClass(gc, rootEnv);
TStd::RegisterZeClass(gc, rootEnv);
cse.back()->Push(gc, nullptr);
return false;
}