Cleanup script_regexp_script_state_
ScriptState assumes DisposePerContextData() and DissociateContext() gets called on it before destruction. This was not happening for ScriptRegexpContext's ScriptState because it was only ever used on the main isolate and so it was never destroyed. To use it on the worker threads, we need to add cleanup code for it, script_regexp_script_state_. Bug: 1136219,1105265 Change-Id: Ifde0bf416bd68b15b55fe1dc266e7b6ae57a3432 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2494243 Commit-Queue: Keishi Hattori <keishi@chromium.org> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#820851}
Showing
Please register or sign in to comment