mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-01 09:54:37 +00:00
cleanup
This commit is contained in:
@@ -151,6 +151,7 @@ export const ActiveCall: FC<ActiveCallProps> = (props) => {
|
||||
setVm(vm);
|
||||
|
||||
vm.leave$.pipe(scope.bind()).subscribe(props.onLeft);
|
||||
|
||||
return (): void => {
|
||||
scope.end();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user