mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 17:07:45 +02:00
* Take into account SendOutputToBrowser (2)
This commit is contained in:
parent
57c841e471
commit
d019335646
@ -846,7 +846,8 @@ end;
|
|||||||
|
|
||||||
procedure TWorkerThreadControllerApplication.HandleConsoleWrite(Sender: TObject; aOutput: string);
|
procedure TWorkerThreadControllerApplication.HandleConsoleWrite(Sender: TObject; aOutput: string);
|
||||||
begin
|
begin
|
||||||
FConsoleChannel.postMessage(TWorkerConsoleCommand.Create(aOutput,0));
|
if SendOutputToBrowser then
|
||||||
|
FConsoleChannel.postMessage(TWorkerConsoleCommand.Create(aOutput,0));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TWorkerThreadControllerApplication.HandleCustomCommand(aData : TWorkerCommand) : Boolean;
|
function TWorkerThreadControllerApplication.HandleCustomCommand(aData : TWorkerCommand) : Boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user