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 memory leak in autowiring::signal #945

Merged
merged 1 commit into from
May 18, 2016
Merged

Fix memory leak in autowiring::signal #945

merged 1 commit into from
May 18, 2016

Conversation

codemercenary
Copy link
Contributor

@codemercenary codemercenary commented May 18, 2016

Fix a memory leak caused by the autowiring::signal destructor not properly freeing the last listener in the list of listeners. Also add a test to guarantee we don't miss this again, and add a corresponding test to autowiring::once_signal just in case.

Fix a memory leak caused by the autowiring::signal destructor not properly freeing the last listener in the list of listeners.  Also add a test to guarantee we don't miss this again, and add a corresponding test to autowiring::once_signal just in case.
@ajohnston33
Copy link
Contributor

Looks good.

@ajohnston33 ajohnston33 merged commit d3d1baa into master May 18, 2016
@ajohnston33 ajohnston33 deleted the fix-memleak branch May 18, 2016 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants