Chromium Code Reviews
DescriptionStop calling Persistent::uninitialize after blink::shutdown is called.
This CL adds a short-term hack to prevent use-after-frees during a shutdown sequence.
Currently the following scenario can happen:
1) blink::shutdown() frees the underlying storage for persistent nodes.
2) ~MessageLoop() destructs some Chromium-side objects that hold Persistent.
It touches the underlying storage and crashes.
In middle term, we should entirely remove the shutdown sequence and get rid of the hack.
BUG=653688
Review-Url: https://codereview.chromium.org/2423743003
Cr-Commit-Position: refs/heads/master@{#425620}
(cherry picked from commit 10d68110da927986332bd753b17c08db0feac1c8)
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|
|||||||||||||||||||