* Local threadsupport variable must be set

This commit is contained in:
Michael Van Canneyt 2025-01-30 14:46:12 +01:00
parent 1178011253
commit 22ab77a42c

View File

@ -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;