mirror of
https://git.tesses.org/tesses50/crosslang.git
synced 2026-09-30 08:44:14 +00:00
fix on macos
This commit is contained in:
+1
-1
@@ -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