Ensure ServiceWorker{,Un}RegisterJob's callbacks are executed
This CL replaces ClearForShutdown() call in the destructor of ServiceWorkerContextCore with AbortAll() to run callbacks. Some callbacks contain mojo response callbacks which need to be executed before being destroyed if their corresponding bindings are still connected. It's a bit hard to disconnect these bindings so run callbacks in destructors. Bug: 1161799 Change-Id: I39ff795f7246d944f26f2814cb60adfd68b17abe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2635403Reviewed-by:Makoto Shimazu <shimazu@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#844676}
Showing
Please register or sign in to comment