Add custom console and allow runtimes to set the config dir

This commit is contained in:
2025-08-21 08:18:29 -05:00
parent 52218d6c2d
commit 05713fc39c
10 changed files with 49 additions and 6 deletions

View File

@@ -105,6 +105,8 @@ namespace Tesses::CrossLang
}
void TAssociativeArray::Mark()
{
if(this->marked) return;
this->marked=true;
for(auto& item : this->items)
{
GC::Mark(item.first);

View File

@@ -311,6 +311,7 @@ namespace Tesses::CrossLang {
if(this->marked) return;
this->marked = true;
this->dict->Mark();
if(this->permissions.customConsole != nullptr) this->permissions.customConsole->Mark();
for(auto defer : this->defers) defer->Mark();
if(this->error != nullptr) this->error->Mark();
}