Check if the browser is closing in TabMetricsLogger
TabMetricsLogger generally shouldn't be invoked to log a UKM for a background tab if the tab is closing, but there are lots of potential edge cases where this could happen. If the browser window is being closed, early exit instead of logging. Bug: 784639 Change-Id: Ic7f39f1f0cbfbba1dd867195c91365afb630dc61 Reviewed-on: https://chromium-review.googlesource.com/905794Reviewed-by:François Doray <fdoray@chromium.org> Commit-Queue: Michael Giuffrida <michaelpg@chromium.org> Cr-Commit-Position: refs/heads/master@{#535973}
Showing
Please register or sign in to comment