mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-02-09 01:25:45 +00:00
fix on macos
This commit is contained in:
@@ -81,7 +81,7 @@ namespace Tesses::CrossLang
|
||||
});
|
||||
|
||||
dict->DeclareFunction(ls.GetGC(),"getFinished","Get whether thread has finished",{},[th](GCList& _ls, std::vector<TObject> _args)-> TObject{
|
||||
return th->hasReturned;
|
||||
return (bool)(th->hasReturned==true);
|
||||
});
|
||||
|
||||
ls.GetGC()->BarrierEnd();
|
||||
|
||||
Reference in New Issue
Block a user