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

Unified Diff: extensions/browser/process_manager.cc

Issue 2838223002: Fix ProcessManagerTest.* flakiness. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/process_manager.cc
diff --git a/extensions/browser/process_manager.cc b/extensions/browser/process_manager.cc
index da355fcc762e17d9d4006842d690f8da7edfabad..7ebfcd968b91c8a309e7299e76880682c60911c1 100644
--- a/extensions/browser/process_manager.cc
+++ b/extensions/browser/process_manager.cc
@@ -248,7 +248,9 @@ ProcessManager::ProcessManager(BrowserContext* context,
content::DevToolsAgentHost::AddObserver(this);
}
-ProcessManager::~ProcessManager() = default;
+ProcessManager::~ProcessManager() {
+ content::DevToolsAgentHost::RemoveObserver(this);
+}
void ProcessManager::Shutdown() {
extension_registry_->RemoveObserver(this);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698