Chromium Code Reviews
DescriptionFix crash when user disconnects It2Me host
Cause:
The delegating_signal_strategy_ pointer is destroyed on the network
thread while It2meNativeMessagingHost keeps a raw pointer to it.
Fix:
DelegatingSignalStrategy will expose a callback that internally binds
weak pointer. This will allow the callback to be invoked safely from
any thread even after the instance is destroyed.
BUG=700152
Review-Url: https://codereview.chromium.org/2747743004
Cr-Commit-Position: refs/heads/master@{#457288}
Committed: https://chromium.googlesource.com/chromium/src/+/4429e92d02a964039db7ef88c6676cb8ce20fc56
Patch Set 1 #
Total comments: 11
Patch Set 2 : Reviewer's feedback #Patch Set 3 : Fix Client breakage #
Messages
Total messages: 16 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||