release active handler list on dispose in DcsHandler

This commit is contained in:
Jörg Breitbart
2021-01-21 13:08:01 +01:00
parent 9d0200252b
commit dd5b295219
+1
View File
@@ -20,6 +20,7 @@ export class DcsParser implements IDcsParser {
public dispose(): void {
this._handlers = Object.create(null);
this._handlerFb = () => {};
this._active = EMPTY_HANDLERS;
}
public registerHandler(ident: number, handler: IDcsHandler): IDisposable {