Skip to content
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

Fix strong retain cycles #343

Merged
merged 2 commits into from
Feb 27, 2020

Conversation

LachlanMcCulloch
Copy link
Contributor

Issue #342:

Description of changes:
Takes a weak self reference inside of the initial sync operation and dispatch timer for sync.

The integration test testDeltaSyncMetadataClear had to be updated to take a strong reference of the Cancellable objects.

The integration test testStartStopStartSubscriptions also had to be updated, although this appeared to be failing previous to the changes provided here.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@royjit royjit requested a review from palpatim February 26, 2020 23:12
Copy link
Contributor

@royjit royjit left a comment

Choose a reason for hiding this comment

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

LGTM

@royjit royjit merged commit baa03db into awslabs:master Feb 27, 2020
@LachlanMcCulloch
Copy link
Contributor Author

Thanks for the speedy review @royjit ! Greatly appreciated!! :)

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