DescriptionFix shutdown crash in CertVerifier by using a MessageLoopProxy.
The CertVerifier is not getting Cancel()'d because something which owns it is getting leaked, most likely a URLRequestJob. Therefore, we can end up accessing a deleted MessageLoop on shutdown. MessageLoopProxy prevents accessing a deleted MessageLoop on shutdown, instead it just deletes the task, which isn't great, but it's better than crashing. We should fix the root cause eventually, which is a leak of the URLRequestJob.
BUG=42275, chromium-os:8179
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67172
Patch Set 1 #Patch Set 2 : Add DCHECK #
Total comments: 10
Patch Set 3 : Add missing header. #Patch Set 4 : Address wtc's comments. Whitelist another MessageLoop::current() use. #
Total comments: 1
Patch Set 5 : Add lock.h #
Messages
Total messages: 5 (0 generated)
|