DescriptionFix for ~ContentCaptureSubscription() after BrowserThreads are torn down.
While debugging flaky browser_tests, it was revealed that a
WebContentsVideoCaptureMachine could actually outlive the tear-down of
the BrowserThreadImpl for the UI thread. Not having been explicitly
stopped first, destructors in the object graph would execute clean up
code that would attempt operations that are invalid after the
BrowserThreadImpl for the UI thread has been torn down.
This change also includes a bunch of minor clean-ups.
BUG=396413
Committed: https://crrev.com/191dc4092d998a30ab39235a17f0f5f2d17dfb2b
Cr-Commit-Position: refs/heads/master@{#292513}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 7 (0 generated)
|