diff --git a/jsonrpc/src/common/messageReader.ts b/jsonrpc/src/common/messageReader.ts index 47e8e7c4b..3e9175515 100644 --- a/jsonrpc/src/common/messageReader.ts +++ b/jsonrpc/src/common/messageReader.ts @@ -72,6 +72,7 @@ export abstract class AbstractMessageReader implements MessageReader { public dispose(): void { this.errorEmitter.dispose(); this.closeEmitter.dispose(); + this.partialMessageEmitter.dispose(); } public get onError(): Event {