Skip to content

Conversation

@rrolland
Copy link
Contributor

When using the Consent plugin, we have noticed some retain cycles issues :

  • Use a weak reference for analytics instance in ConsentBlocker and ConsentManager to avoid retain cycles.

  • There is a retain cycle between ConsentManager and Provider.

Capture d’écran 2025-07-22 à 16 30 01 Capture d’écran 2025-07-22 à 16 30 10

…break cycle between ConsentManager and Provider
@bsneed
Copy link
Contributor

bsneed commented Jul 30, 2025

thanks @rrolland !

@bsneed bsneed merged commit b2b5237 into segment-integrations:main Jul 30, 2025
3 of 4 checks passed
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.

3 participants