Race condiition fixed for fix:9104

This commit is contained in:
Shivansh Kumar 2025-02-10 11:13:59 +05:30
parent 74b8f7ee26
commit 1053a51f64
2 changed files with 17 additions and 6 deletions

View file

@ -165,9 +165,7 @@ const ActiveRoomDialog = ({
onClick={() => {
trackEvent("share", "room closed");
collabAPI.stopCollaboration().then(() => {
if (!collabAPI.isCollaborating()) {
handleClose();
}
handleClose();
});
}}
/>