| Index: sync/engine/syncer.cc
|
| diff --git a/sync/engine/syncer.cc b/sync/engine/syncer.cc
|
| index ac6b5eb787e354f94b2d5daab3f6ae9c1b631088..f8639c0f47be6da50db9dd65e9510e393c42ef1e 100644
|
| --- a/sync/engine/syncer.cc
|
| +++ b/sync/engine/syncer.cc
|
| @@ -241,8 +241,10 @@ void Syncer::SyncShare(sessions::SyncSession* session,
|
| << "current step: " << SyncerStepToString(current_step) << ", "
|
| << "next step: " << SyncerStepToString(next_step) << ", "
|
| << "snapshot: " << session->TakeSnapshot().ToString();
|
| - if (last_step == current_step)
|
| + if (last_step == current_step) {
|
| + session->SetFinished();
|
| break;
|
| + }
|
| current_step = next_step;
|
| }
|
| }
|
|
|