diff --git a/DuckDuckGo/DuckPlayer/DuckPlayerSettings.swift b/DuckDuckGo/DuckPlayer/DuckPlayerSettings.swift index c1a93338a2..5e2a43d7bb 100644 --- a/DuckDuckGo/DuckPlayer/DuckPlayerSettings.swift +++ b/DuckDuckGo/DuckPlayer/DuckPlayerSettings.swift @@ -177,6 +177,7 @@ final class DuckPlayerSettings: DuckPlayerSettingsProtocol { } deinit { - NotificationCenter.default.removeObserver(self) + isFeatureEnabledCancellable?.cancel() + NotificationCenter.default.removeObserver(self, name: AppUserDefaults.Notifications.duckPlayerSettingsUpdated, object: nil) } }