Descriptiond8 workers: make sure Shell::Quit is only called once
When running with isolates, Quit can be called simultaneously by two threads.
If this happens, then both threads try to clean up the Workers, which could
crash.
BUG=v8:4279
R=jarin@chromium.org
R=machenbach@chromium.org
LOG=n
Committed: https://crrev.com/76184292b392d107609f21662a949b58bb1e258c
Cr-Commit-Position: refs/heads/master@{#29654}
Patch Set 1 #Patch Set 2 : once_ -> once #Patch Set 3 : include src/base/once.h #Patch Set 4 : remove function static #Patch Set 5 : move once_type_ out of V8_SHARED section #
Messages
Total messages: 15 (5 generated)
|