Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Add a missing virtual destructor to CollectionChangeCallback #702

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

tgoyne
Copy link
Member

@tgoyne tgoyne commented Oct 16, 2018

This resulted in the destructor for the callback object passed to add_notification_callback() not being called, potentially resulting in memory leaks when removing notification callbacks.

@tgoyne tgoyne self-assigned this Oct 16, 2018
Copy link
Contributor

@ironage ironage left a comment

Choose a reason for hiding this comment

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

😱

This resulted in the destructor for the callback object passed to
`add_notification_callback()` not being called, potentially resulting in memory
leaks when removing notification callbacks.
@realm-ci realm-ci force-pushed the tg/add-missing-virtual-destructor branch from cbf5027 to 98612b9 Compare October 16, 2018 20:55
@tgoyne
Copy link
Member Author

tgoyne commented Oct 16, 2018

CI failure was due to that job running on a worker that's out of disk space.

@tgoyne tgoyne merged commit 362b886 into master Oct 16, 2018
@realm-probot
Copy link

realm-probot bot commented Oct 16, 2018

Hey - looks like you forgot to add a T:* label - could you please add one?

@tgoyne tgoyne deleted the tg/add-missing-virtual-destructor branch October 16, 2018 21:03
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.

2 participants