Skip to content

Fix/unsubscribe with subscription set #462

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

Conversation

mohitpubnub
Copy link
Contributor

@mohitpubnub mohitpubnub commented Jul 7, 2025

fix: update condition which removes reference tracking map of active subscription.

Fixes issue of subsequent unsubscribe() failure due to reference map deletion on first unsubscribe call.

@pubnub-ops-terraform
Copy link

pubnub-ops-terraform commented Jul 7, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

…equest is partially removing channel entity. Not entirly remove map of active subscription entity list
@@ -1511,12 +1511,16 @@ export class PubNubCore<
details: `Unregister event handle capable:`,
}));

if (
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@parfeon this condition was always clearing the reference map on first unsubscribe() call

@mohitpubnub
Copy link
Contributor Author

merged changes with commit 1d90f4e

@mohitpubnub mohitpubnub closed this Jul 8, 2025
@mohitpubnub mohitpubnub deleted the fix/unsubscribe-with-subscriptionSet branch July 8, 2025 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants