mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-28 02:59:06 +02:00
* Handle console messages
This commit is contained in:
parent
15ffdf1fe1
commit
6056078a27
@ -3,7 +3,7 @@ program wasmthreadcontroller;
|
|||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, WasiWorkerThreadHost;
|
Classes, Rtl.threadcontroller, Rtl.workerthreadhost;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TApplication }
|
{ TApplication }
|
||||||
@ -17,6 +17,7 @@ var
|
|||||||
App: TApplication;
|
App: TApplication;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
globalThreadController.HandleConsoleMessages:=true;
|
||||||
App:=TApplication.Create(nil);
|
App:=TApplication.Create(nil);
|
||||||
App.Run;
|
App.Run;
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user