mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-04-18 16:07:02 +00:00
Fix bugs created by shared_ptr
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user