don't clear options as error boundary may fire after dispose

This commit is contained in:
Bruno Windels 2023-02-07 23:26:02 +01:00
parent 928419502e
commit fe5794a4bc

View File

@ -457,7 +457,7 @@ export class Member {
this.expireTimeout?.dispose(); this.expireTimeout?.dispose();
this.expireTimeout = undefined; this.expireTimeout = undefined;
// ensure the emitUpdate callback can't be called anymore // ensure the emitUpdate callback can't be called anymore
this.options = undefined as any as Options; this.options.emitUpdate = () => {};
} }
} }