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

Correct unsynchronized reset #934

Merged
merged 1 commit into from
May 7, 2016
Merged

Correct unsynchronized reset #934

merged 1 commit into from
May 7, 2016

Conversation

codemercenary
Copy link
Contributor

@codemercenary codemercenary commented May 7, 2016

The next packet shared pointer must be cleared outside of the lock in the same way as the collection of AutoFilters. Store it in a local variable, nullify the member under lock, and destroy on scope exit.

Additionally, the stop check must occur under lock in order to guard against an unsynchronized state change.

This defect was introduced in #845

The next packet shared pointer must be cleared outside of the lock in the same way as the collection of AutoFilters.  Store it in a local variable, nullify the member under lock, and destroy on scope exit.

Additionally, the stop check must occur under lock in order to guard against an unsynchronized state change.
@veronicaz41
Copy link
Contributor

👍

@veronicaz41 veronicaz41 merged commit 59e26c9 into master May 7, 2016
@veronicaz41 veronicaz41 deleted the fix-unsynchreset branch May 7, 2016 01:07
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