mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 13:37:47 +02:00
Restore default memory
This commit is contained in:
parent
83be8b0e13
commit
3a33eee80d
@ -892,14 +892,12 @@ begin
|
|||||||
TH.OnConsoleWrite:=@HandleConsoleWrite;
|
TH.OnConsoleWrite:=@HandleConsoleWrite;
|
||||||
FThreadSupport:=CreateThreadSupport(TH.WasiEnvironment);
|
FThreadSupport:=CreateThreadSupport(TH.WasiEnvironment);
|
||||||
Mem.Initial:=256;
|
Mem.Initial:=256;
|
||||||
Mem.maximum:=1024;
|
Mem.maximum:=512;
|
||||||
Mem.shared:=True;
|
Mem.shared:=True;
|
||||||
TH.MemoryDescriptor:=Mem;
|
TH.MemoryDescriptor:=Mem;
|
||||||
FThreadSupport.OnSendCommand:=@DoOnSendCommand;
|
FThreadSupport.OnSendCommand:=@DoOnSendCommand;
|
||||||
TH.ThreadSupport:=FThreadSupport; // Sets FThreadSupport.host
|
TH.ThreadSupport:=FThreadSupport; // Sets FThreadSupport.host
|
||||||
Result:=TH;
|
Result:=TH;
|
||||||
// TThreadController
|
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Initialization
|
Initialization
|
||||||
|
Loading…
Reference in New Issue
Block a user