Add better navigation
This commit is contained in:
parent
c2d7156033
commit
4f599dcb7b
5 changed files with 27 additions and 1 deletions
|
|
@ -124,6 +124,7 @@ export function useVideoRoom(manager, roomId, timeout = 5000) {
|
|||
|
||||
return () => {
|
||||
window.removeEventListener("beforeunload", onBeforeUnload);
|
||||
manager.leaveCall();
|
||||
};
|
||||
}, [manager]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue