[SyncFS] Clear sync task runners on shutdown of SyncFileSystemService
commit91f3a0413e4c9dd8c97d05bc0e92d6713a14a9ab
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 11:29:23 +0000 (17 11:29 +0000)
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 11:29:23 +0000 (17 11:29 +0000)
tree6cccd3e94b62f9cc9651c4f0c71efb83c5d839fc
parent955667fa435938c4df7b2a8e5c40f02bc8b31a2f
[SyncFS] Clear sync task runners on shutdown of SyncFileSystemService

This CL should fix a memory corruption in a unit_tests which is recently introduced.
That is caused by sync task invocation after SyncFileSystemService::Shutdown.

BUG=394460
TEST=unit_tests --gtest_filter='SyncFileSystemServiceTest.*'

Review URL: https://codereview.chromium.org/395333004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283756 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/sync_file_system/sync_file_system_service.cc
tools/valgrind/gtest_exclude/unit_tests.gtest-drmemory.txt [deleted file]
tools/valgrind/gtest_exclude/unit_tests.gtest-memcheck_linux.txt [deleted file]