-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RoomlifecycleManager: Unsubscribe room monitoring as a part of room release #397
Comments
Also, I am not sure whether we should turn off those listeners before we start with the |
All of the code blocks you point to have a check that causes them to effectively no-op if a release (or any other) operation is in progress. The only exception to this is checking for discontinuity. |
Yeah, I agree they cause no-op after release ( I think we listen to detached/failed when release is happening ), but callbacks will still be a part of internal listeners after release and won't be garbage collected. |
|
RoomStatus.Released
ably-chat-js/src/core/room-lifecycle-manager.ts
Line 891 in 0e1b523
we should deregister all of those listeners using
┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: