소스 검색

* Make HandleCustomCommand virtual protected...

Michael Van Canneyt 9 달 전
부모
커밋
8e48a6903c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/wasi/src/wasiworkerthreadhost.pas

+ 1 - 1
packages/wasi/src/wasiworkerthreadhost.pas

@@ -162,9 +162,9 @@ Type
   TWorkerThreadRunnerApplication = class(TWorkerWASIHostApplication)
   Private
     FThreadSupport : TWorkerThreadSupport;
-    function HandleCustomCommand(aData: TWorkerCommand): Boolean;
   Protected
     procedure HandleConsoleWrite(Sender: TObject; aOutput: string);
+    function HandleCustomCommand(aData: TWorkerCommand): Boolean; virtual;
     function CreateHost: TWASIHost; override;
     procedure HandleMessage(aEvent: TJSEvent); override;
     procedure ShowException(aError: Exception); override;