mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-23 05:07:03 +00:00
Add better navigation
This commit is contained in:
@@ -124,6 +124,7 @@ export function useVideoRoom(manager, roomId, timeout = 5000) {
|
||||
|
||||
return () => {
|
||||
window.removeEventListener("beforeunload", onBeforeUnload);
|
||||
manager.leaveCall();
|
||||
};
|
||||
}, [manager]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user