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

Unified Diff: chrome/browser/sync/internal_api/sync_manager.cc

Issue 7841013: sync: take 2 at aborting active HTTP requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: initial Created 9 years, 3 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/sync/internal_api/sync_manager.cc
diff --git a/chrome/browser/sync/internal_api/sync_manager.cc b/chrome/browser/sync/internal_api/sync_manager.cc
index 6b022da2ac7c3cc911580350c084c87697b80bdc..fcd46b8e957a4848c83b24e9202bc6be65bc55db 100644
--- a/chrome/browser/sync/internal_api/sync_manager.cc
+++ b/chrome/browser/sync/internal_api/sync_manager.cc
@@ -1254,6 +1254,10 @@ void SyncManager::SyncInternal::RequestEarlyExit() {
if (scheduler()) {
scheduler()->RequestEarlyExit();
}
+
+ if (connection_manager_.get()) {
+ connection_manager_->TerminateAllIO();
+ }
}
void SyncManager::Shutdown() {

Powered by Google App Engine
This is Rietveld 408576698