TaskManger: Invalidate the weak pointers after stopping updating
Currently, the operation of getting service worker infos is asynchronous, during which the task manager may have stopped updating. In this case we have to invalidate the weak pointers to avoid the invoking of the callbacks. BUG=953432 Change-Id: I7f5bc3c0203008175264eb5a8f31ab5236d40d27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1572648Reviewed-by:Ahmed Fakhry <afakhry@chromium.org> Commit-Queue: Minggang Wang <minggang.wang@intel.com> Cr-Commit-Position: refs/heads/master@{#652526}
Showing
Please register or sign in to comment