* Take into account SendOutputToBrowser (2)

This commit is contained in:
Michael Van Canneyt 2025-03-24 10:27:58 +01:00
parent 57c841e471
commit d019335646

View File

@ -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;