DescriptionRevert of Require FilePathWatcher destructor to be called in sequence with Watch(). (patchset #10 id:180001 of https://codereview.chromium.org/2438913003/ )
Reason for revert:
I'm sorry, but I'm pretty confident that this patch is causing some trybot flakes.
See: https://bugs.chromium.org/p/chromium/issues/detail?id=665511
Flakes link:
https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyVAsSBUZsYWtlIklQaWNhc2FEYXRhUHJvdmlkZXJOb0RhdGFiYXNlR2V0QWxidW1zSW1hZ2VzVGVzdC5Ob0RhdGFiYXNlR2V0QWxidW1zSW1hZ2VzDA
Original issue's description:
> Require FilePathWatcher destructor to be called in sequence with Watch().
>
> file_path_watcher_win.cc and file_path_watcher_kqueue.cc need to do
> some cleanup on the sequence from which Watch() is called. They use
> destruction observers to do this cleanup when the MessageLoop from
> which Watch() is called is destroyed (after that, it is too late to
> post tasks to the MessageLoop sequence).
>
> With this CL, the FilePathWatcher destructor must be called on the
> sequence from which Watch() is called. That means that will be able
> to move the work done in MessageLoop destruction observers to the
> FilePathWatcher destructor. Getting rid of destruction observers in
> FilePathWatcher is important because they are not supported in
> TaskScheduler.
>
> TBR=scottbyer@chromium.org
> BUG=650723
>
> Committed: https://crrev.com/1ce19c6494518bcc1cc1fd4b2bfc73e6f6e41fa0
> Cr-Commit-Position: refs/heads/master@{#431921}
TBR=scottbyer@chromium.org,dcheng@chromium.org,thestig@chromium.org,fdoray@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=650723
Patch Set 1 #Messages
Total messages: 9 (2 generated)
|