commit f61c65db67512b5b3034fc29ca4e78f8ea0023fa
parent f6995b5d240f0800fe2beb7b8263008b3dba2f7b
Author: scottdowne <sdowne@mozilla.com>
Date: Thu, 30 Oct 2025 23:41:53 +0000
Bug 1996074 - Newtab remove observer on uninit r=reemhamz
Differential Revision: https://phabricator.services.mozilla.com/D270754
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/browser/extensions/newtab/lib/ActivityStream.sys.mjs b/browser/extensions/newtab/lib/ActivityStream.sys.mjs
@@ -1648,6 +1648,7 @@ export class ActivityStream {
delete this.geo;
Services.obs.removeObserver(this, "intl:app-locales-changed");
+ Services.obs.removeObserver(this, "browser-search-engine-modified");
Services.prefs.removeObserver(BROWSER_URLBAR_PLACEHOLDERNAME, this);