DescriptionMove PROFILE_DESTROYED notification to ProfileDestroyer and observe it in ExtensionProcessManager.
1. EPM was not observing the correct notification to shut down its ExtensionHosts.
2. PROFILE_DESTROYED has to be sent early enough that the EPM can shut down ExtensionHosts before the ProfileDestroyer checks that all renderers are gone.
BUG=138843
TEST=In Debug build, have a split mode incognito extension installed. Open and close an incognito window; no crash. Close the regular profile window; no crash.
TBR=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148674
Patch Set 1 #
Total comments: 3
Patch Set 2 : notify me maybe #Patch Set 3 : destroy original profile->destroy incognito EPM #
Total comments: 3
Messages
Total messages: 16 (0 generated)
|