Chromium Code Reviews
DescriptionFix some browser shutdown issues on Linux.
The previous code ended up destroying the BrowserWindow (removing it from BrowserList) while BrowserList was in the middle of iterating. Push the deletion onto the message loop (using DeleteSoon) to emulate what I'm guessing happens on Windows (the message is queue instead of processed right away).
This fixes a second bug involving re-entrancy issues with Close() and window_, we now make sure to set window_ to NULL before any events might fire.
BUG=8712
Patch Set 1 #Patch Set 2 : Patch against other branch #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||