mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-02-08 17:15:45 +00:00
Fix a bug where a crvm dependency is freed if it only has classes
This commit is contained in:
@@ -314,6 +314,7 @@ namespace Tesses::CrossLang {
|
||||
if(this->permissions.customConsole != nullptr) this->permissions.customConsole->Mark();
|
||||
for(auto defer : this->defers) defer->Mark();
|
||||
if(this->error != nullptr) this->error->Mark();
|
||||
for(auto cls : this->classes) cls.first->Mark();
|
||||
}
|
||||
TRootEnvironment* TRootEnvironment::Create(GCList* gc,TDictionary* dict)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user