Skip to content
This repository has been archived by the owner on Jul 7, 2018. It is now read-only.

Do not call the rest of soft notifires if referent object survived #18

Merged
merged 1 commit into from
Aug 10, 2016

Conversation

pinepain
Copy link
Owner

@pinepain pinepain commented Aug 9, 2016

Do not call soft notifiers if original object was prevented from being destroyed in one of notifiers.

Technically, notifiers shouldn't be aware of each other, if any, and they should be called only to notify when tracking referent object is before being destroyed. After such referent object's refcount become incremented, it can't be considered as it before being destroyed anymore.

@pinepain pinepain merged commit 1f1987e into master Aug 10, 2016
@pinepain pinepain deleted the fix_soft_notifiers branch August 21, 2016 18:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant