mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Race condiition fixed for fix:9104
This commit is contained in:
parent
74b8f7ee26
commit
1053a51f64
2 changed files with 17 additions and 6 deletions
|
@ -165,9 +165,7 @@ const ActiveRoomDialog = ({
|
|||
onClick={() => {
|
||||
trackEvent("share", "room closed");
|
||||
collabAPI.stopCollaboration().then(() => {
|
||||
if (!collabAPI.isCollaborating()) {
|
||||
handleClose();
|
||||
}
|
||||
handleClose();
|
||||
});
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue