Merge pull request #925 from Ahrotahn/dialpatchfix
Update DIAL repeating discovery patch
This commit is contained in:
commit
d56cae904d
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue