DescriptionFix XmppLoginHandler to handle destruction from delegate methods.
XmppLoginHandler was crashing when it's destroyed from SendMessage().
E.g. it can happen when Write() fails after TLS handshake. Also added
unittests to test this scenario.
BUG=498989
Committed: https://crrev.com/56988978ff675e340927da78f65c123f8b6a0008
Cr-Commit-Position: refs/heads/master@{#333877}
Patch Set 1 #
Messages
Total messages: 12 (2 generated)
|