-
Marc Treib authored
Previously, we'd post a task to perform the shutdown. This meant that there was a brief period where the unrecoverable error was already set, but Sync was still active, which made things hard to reason about. This CL removes the task-posting and instead just directly calls OnUnrecoverableErrorImpl (which calls ShutdownImpl), which doesn't seem to have any ill effects. Bug: 839834 Change-Id: I998488332c531e817ffcd19e44df0e1273d091a5 Reviewed-on: https://chromium-review.googlesource.com/1163707 Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by:
Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#581196}
8e46ab37