This commit is contained in:
Shivansh Kumar 2025-05-01 19:56:05 +00:00 committed by GitHub
commit dcd010c475
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 13 deletions

View file

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