mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
don't clear options as error boundary may fire after dispose
This commit is contained in:
parent
928419502e
commit
fe5794a4bc
@ -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 = () => {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user