You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
Fix call event handler listener removing
Wrong kind of event emitter...
This commit is contained in:
@@ -48,8 +48,8 @@ export class CallEventHandler {
|
||||
}
|
||||
|
||||
public stop() {
|
||||
this.client.removeEventListener("sync", this.evaluateEventBuffer);
|
||||
this.client.removeEventListener("event", this.onEvent);
|
||||
this.client.removeListener("sync", this.evaluateEventBuffer);
|
||||
this.client.removeListener("event", this.onEvent);
|
||||
}
|
||||
|
||||
private evaluateEventBuffer = () => {
|
||||
|
||||
Reference in New Issue
Block a user