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

Unified Diff: chrome/browser/extensions/extension_system.cc

Issue 10076001: Fix memory leak caused by Rules Registries (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/browser/extensions/extension_system.cc
diff --git a/chrome/browser/extensions/extension_system.cc b/chrome/browser/extensions/extension_system.cc
index 1240080341c2c477e6d526883dbed0b32d3e359e..557e9bb8bb2dc275b7f87754cc43cf71ac18c6bf 100644
--- a/chrome/browser/extensions/extension_system.cc
+++ b/chrome/browser/extensions/extension_system.cc
@@ -63,6 +63,7 @@ ExtensionSystemImpl::Shared::Shared(Profile* profile)
}
ExtensionSystemImpl::Shared::~Shared() {
+ rules_registry_service_->Shutdown();
Matt Perry 2012/04/12 21:46:19 When is this called? If it's during shutdown, then
battre 2012/04/12 22:20:52 ExtensionSystemImpl::Shared is ref counted so it i
}
void ExtensionSystemImpl::Shared::InitPrefs() {
« no previous file with comments | « chrome/browser/extensions/api/declarative/rules_registry_service.cc ('k') | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698