mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-24 14:59:03 +02:00
* Local threadsupport variable must be set
This commit is contained in:
parent
1178011253
commit
22ab77a42c
@ -82,8 +82,8 @@ Var
|
||||
begin
|
||||
Res:=ThreadAppWASIHost.Create(Self);
|
||||
Res.UseSharedMemory:=True;
|
||||
Res.ThreadSupport:=CreateThreadSupport(Res.WasiEnvironment);
|
||||
|
||||
FThreadSupport:=CreateThreadSupport(Res.WasiEnvironment);
|
||||
Res.ThreadSupport:=FThreadSupport;
|
||||
Result:=Res;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user