DescriptionRemove observer when removing delegate, in Instant.
I believe the crash (see bug link) is caused because we remove the delegate
connection, but we never stop observing the WebContents. I haven't reproduced
the crash, but I think this should fix the root cause. I've put in a bandaid as
well, which might be redundant, but good for safety. Will remove it once I can
confirm the fix works.
BUG=141875
R=sky@chromium.org
TEST=This type of crash (see bug) should go away.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151173
Patch Set 1 #Patch Set 2 : Proper fix, hopefully #
Total comments: 2
Patch Set 3 : Delete the observer #
Total comments: 2
Patch Set 4 : Make delegate call the last thing we do #Messages
Total messages: 11 (0 generated)
|