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