[wasm] Fix UAF in AsyncCompileJob callbacks
Execute foreground tasks triggered by the {CompilationStateCallback} via the {CompileStep} mechanism of {AsyncCompileJob} such that they get cancelled when the AsyncCompileJob dies. R=ahaas@chromium.org Bug: chromium:938311 Change-Id: I2082f93f47988c014c8dee3ddf3e9b2940f6f531 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1507674Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#60082}
Showing
Please
register
or
sign in
to comment