mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-08 05:48:05 +02:00
* Send correct message in case of unhandled message
This commit is contained in:
parent
7cd8b6e74d
commit
3055de55dd
@ -570,7 +570,7 @@ begin
|
||||
P:=TWorkerExceptionCommand.New;
|
||||
P.ExceptionClass:='ENotSupportedException';
|
||||
P.ExceptionMessage:='Unsupported command : '+TJSJSON.Stringify(aCommand);
|
||||
SendCommand(aCommand);
|
||||
SendCommand(P);
|
||||
end;
|
||||
|
||||
procedure TWasmThreadSupport.SendCommand(aCommand: TWorkerCommand);
|
||||
|
Loading…
Reference in New Issue
Block a user