Disable outputs for tail processing more often
When requesting to delete handlers on the main thread, we exit early if |rendering_orphan_handlers_| is empty. However, |DeleteHandlersOnMainThread| will also process |finished_tail_processing_handlers_|, so we're not processing them in some cases. Thus, do an early exit only if both |rendering_orphan_handlers_| and |finished_tail_processing_handlers_| are empty. Otherwise, there are things that need to be deleted but aren't. Change-Id: If4515a42253dc87aca25c009fccea69b243a06ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1503998 Commit-Queue: Raymond Toy <rtoy@chromium.org> Reviewed-by:Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#637866}
Showing
Please register or sign in to comment