diff options
author | stevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 19:07:28 +0000 |
---|---|---|
committer | stevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 19:07:28 +0000 |
commit | 2f4aec1e3e10cac458f44747d650c2336e220554 (patch) | |
tree | eb486b611af556b8ebcacf98adea0f7f077c2764 | |
parent | 521649d3351d39127bfd62ad311c5b650fa6c32d (diff) | |
download | chromium_src-2f4aec1e3e10cac458f44747d650c2336e220554.zip chromium_src-2f4aec1e3e10cac458f44747d650c2336e220554.tar.gz chromium_src-2f4aec1e3e10cac458f44747d650c2336e220554.tar.bz2 |
Call RemoveIPAddressObserver before resetting syncer_thread_
BUG=chromium-os:13520
TEST=Ensure sync runs correctly and does not crash during shutdown. Try to test shutting down while syncing.
Review URL: http://codereview.chromium.org/6745025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79598 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/sync/engine/syncapi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/engine/syncapi.cc b/chrome/browser/sync/engine/syncapi.cc index cfd2782..354cbcf1 100644 --- a/chrome/browser/sync/engine/syncapi.cc +++ b/chrome/browser/sync/engine/syncapi.cc @@ -1114,7 +1114,7 @@ class SyncManager::SyncInternal } virtual ~SyncInternal() { - DCHECK(!core_message_loop_); + CHECK(!core_message_loop_); DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); } |