Keep WorkerGlobalScope wrapper alive as long as its context is alive
We previously only kept the wrapper alive as long as the scope had timers attached. This requires us to kept explicit hidden references to event listeners to prevent them from being garbage collected. Relying on wrapper tracing requires us to keep the scope alive as long as its context is alive. This is a dependency for https://chromium-review.googlesource.com/c/576472/ Bug: Change-Id: I82c177f6e93a7ed15697e574f4e0e001957dff7a Reviewed-on: https://chromium-review.googlesource.com/584875 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#491363}
Showing
Please register or sign in to comment