DescriptionFix issue 174250, crash when reloading packaged app.
When a shell window was closed, it wasn't removed from the registry immediately
(it was removed in a callback from OnNativeClose, which happens a bit later.)
This meant that when the app was loaded again, the window was still in the
registry with a stale pointer to the old extension. ExtensionSettingsHandler
was tickling this by iterating shell windows on extension load.
BUG=174250
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182194
Patch Set 1 #
Total comments: 2
Patch Set 2 : also immediately remove from registry in CloseContents and APP_TERMINATING #Patch Set 3 : null out extension_ after Close(). #Patch Set 4 : fix use-after-free #Patch Set 5 : fix mac #Patch Set 6 : test #
Total comments: 4
Patch Set 7 : comments #
Messages
Total messages: 18 (0 generated)
|