Chromium Code Reviews
DescriptionDefend against RPHI::ForceReleaseWorkerRefCount called twice.
If a BrowserContext is destroyed and a new one created with the same address,
RPHI::ForceReleaseWorkerRefCount can be called twice since pointer
comparison is used to determine which context owns a RPHI. See bug
for details.
This patch early returns if ForceReleaseWorkerRefCount was already called.
Another approach could be to clear browser_context_ in
ForceReleaseWorkerRefCount but that could be risky since Cleanup() may
dereference browser_context_.
BUG=661843
Patch Set 1 #
Total comments: 4
Messages
Total messages: 10 (5 generated)
|
|||||||||||||||||||