Descriptiond8 workers: fix race on quit() with context_mutex_
When quit() is called, d8 shell exits without cleanup. If a worker is running,
it might be holding the context_mutex_, which if destroyed will DCHECK.
BUG=v8:4279
R=jarin@chromium.org
LOG=n
Committed: https://crrev.com/d42e81d587c725e38da3a53fc581db0e3476e408
Cr-Commit-Position: refs/heads/master@{#29557}
Patch Set 1 #Patch Set 2 : add regression test #Patch Set 3 : fix V8_SHARED and omit_quit #Messages
Total messages: 6 (1 generated)
|