Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Issue 1818593002: [Telemetry] Always close browser backend in Close() (Closed)

Created:
4 years, 9 months ago by Zhen Wang
Modified:
4 years, 9 months ago
Reviewers:
nednguyen
CC:
catapult-reviews_chromium.org
Base URL:
git@github.com:catapult-project/catapult@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Telemetry] Always close browser backend in Close() We should always close browser backend. If exception happens in browser.Close(), e.g., due to device error, browser backend will not be closed and then devtools client will not be closed. Devtools client will also not be garbage collected because chrome_tracing_devtools_manager has a map holding all devtool clients. This leads to actually 'stale' devtools client still being active. And then in the next story run, Telemetry will try to start tracing on the actually 'stale' devtools client. BUG=chromium:595766 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/b81d883874bd78aa5e7011b64d188aaa38589c55

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -10 lines) Patch
M telemetry/telemetry/internal/browser/browser.py View 1 chunk +12 lines, -10 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
Zhen Wang
ptal
4 years, 9 months ago (2016-03-18 21:35:50 UTC) #4
nednguyen
lgtm
4 years, 9 months ago (2016-03-18 22:15:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1818593002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1818593002/1
4 years, 9 months ago (2016-03-18 22:16:02 UTC) #7
commit-bot: I haz the power
4 years, 9 months ago (2016-03-19 00:25:00 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698