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

Make subject implementations a bit more alike. #1386

Merged
merged 3 commits into from
Oct 7, 2020

Conversation

bartdesmet
Copy link
Collaborator

Minor changes to make the inner disposable object similar across all subject types. In particular, make the Dispose call null out the fields for the observer and the parent subject, in case someone keeps these objects alive. So, we no longer keep the subject or observer alive by just a disposable. (Note that Subject<T> already did this.)

@bartdesmet bartdesmet merged commit f6daab4 into main Oct 7, 2020
@bartdesmet bartdesmet deleted the dev/bartde/streamline_subjects branch October 7, 2020 06:16
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.

1 participant