diff options
Diffstat (limited to 'base/object_watcher.cc')
-rw-r--r-- | base/object_watcher.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/object_watcher.cc b/base/object_watcher.cc index cad281f..d6bedcf 100644 --- a/base/object_watcher.cc +++ b/base/object_watcher.cc @@ -23,7 +23,7 @@ struct ObjectWatcher::Watch : public Task { // just get out of dodge. if (!watcher) return; - + DCHECK(did_signal); watcher->StopWatching(); @@ -78,7 +78,7 @@ bool ObjectWatcher::StopWatching() { // Make sure ObjectWatcher is used in a single-threaded fashion. DCHECK(watch_->origin_loop == MessageLoop::current()); - + // If DoneWaiting is in progress, we wait for it to finish. We know whether // DoneWaiting happened or not by inspecting the did_signal flag. if (!UnregisterWaitEx(watch_->wait_object, INVALID_HANDLE_VALUE)) { |