Closed mifopen closed 2 years ago
Shouldn't it be just unload. beforeunload is often used to ask users about unsaved changes. It means that the user will be "disconnected" from the awareness protocol until they choose, for example, "exit without saving", "cancel" or "save".
unload
beforeunload
Huly®: YJS-530
Can you try out whether disconnecting will still work if we do it in the unload event?
Yes, it does work
Thanks for verifying. Added this change and made a release.
Shouldn't it be just
unload
.beforeunload
is often used to ask users about unsaved changes. It means that the user will be "disconnected" from the awareness protocol until they choose, for example, "exit without saving", "cancel" or "save".Huly®: YJS-530