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