Fix bugs created by shared_ptr

This commit is contained in:
2025-09-29 04:29:52 -05:00
parent d2b2720ecb
commit bbe0a1cefc
6 changed files with 38 additions and 11 deletions

View File

@@ -3483,6 +3483,12 @@ namespace Tesses::CrossLang {
cse.back()->Push(gc, nullptr);
return false;
}
if(key == "Close")
{
strm->Close();
cse.back()->Push(gc, nullptr);
return false;
}
if(key == "Seek")
{
int64_t pos,whence;
@@ -3594,7 +3600,12 @@ namespace Tesses::CrossLang {
return false;
}
}
if(key == "Close")
{
vfs->Close();
cse.back()->Push(gc,nullptr);
return false;
}
if(key == "EnumeratePaths")
{
Tesses::Framework::Filesystem::VFSPath dir;