Removes setting destroyed_flag_ in NotifyError
I'm changing two things to Connector: . Removing setting destroyed_flag in NotifyError. This seems wrong since Connector hasn't been destroyed. If destoyed_flag_ was non-NULL and we set it to true and we're nested, then when the stack unravels destroyed_flag_ won't be unset even though Connector may not have been destroyed. This would leave Connector in a very bad state. . Makes NotifyError cancel a wait. If there was a wait outstanding or a notification was in flight than if we don't cancel the wait we may very well end up back in OnHandleReady trying to do something. BUG=none TEST=none Review URL: https://codereview.chromium.org/494243002 Cr-Commit-Position: refs/heads/master@{#291354} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291354 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment