From 026b2905820ff526b7ce7cf0d8bd2d5fca2f4a28 Mon Sep 17 00:00:00 2001 From: Blaise Date: Thu, 11 Feb 2021 09:46:42 -0600 Subject: [PATCH] Update DIAL repeating discovery patch --- .../Disable-the-DIAL-repeating-discovery.patch | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/build/patches/Disable-the-DIAL-repeating-discovery.patch b/build/patches/Disable-the-DIAL-repeating-discovery.patch index 0035c071..1e3c67b2 100644 --- a/build/patches/Disable-the-DIAL-repeating-discovery.patch +++ b/build/patches/Disable-the-DIAL-repeating-discovery.patch @@ -4,8 +4,8 @@ Subject: Disable the DIAL repeating discovery This causes unnecessary SSDP network spam --- - chrome/browser/media/router/discovery/dial/dial_registry.cc | 4 ---- - 1 file changed, 4 deletions(-) + chrome/browser/media/router/discovery/dial/dial_registry.cc | 6 ---- + 1 file changed, 6 deletions(-) diff --git a/chrome/browser/media/router/discovery/dial/dial_registry.cc b/chrome/browser/media/router/discovery/dial/dial_registry.cc --- a/chrome/browser/media/router/discovery/dial/dial_registry.cc @@ -21,6 +21,15 @@ diff --git a/chrome/browser/media/router/discovery/dial/dial_registry.cc b/chrom } void DialRegistry::DoDiscovery() { +@@ -209,8 +205,6 @@ void DialRegistry::StopPeriodicDiscovery + if (!dial_) + return; + +- repeating_timer_->Stop(); +- repeating_timer_.reset(); + dial_->RemoveObserver(this); + ClearDialService(); + } -- 2.17.1