Index: runtime/bin/file_system_watcher_win.cc |
diff --git a/runtime/bin/file_system_watcher_win.cc b/runtime/bin/file_system_watcher_win.cc |
index adb2426076b830dff82ae686c7872d8f95c3f6ef..f0b71f1c3225fea4a94c716eb116884cd46ff477 100644 |
--- a/runtime/bin/file_system_watcher_win.cc |
+++ b/runtime/bin/file_system_watcher_win.cc |
@@ -73,7 +73,9 @@ intptr_t FileSystemWatcher::WatchPath(intptr_t id, |
void FileSystemWatcher::UnwatchPath(intptr_t id, intptr_t path_id) { |
USE(id); |
- USE(path_id); |
+ DirectoryWatchHandle* handle = |
+ reinterpret_cast<DirectoryWatchHandle*>(path_id); |
+ handle->Stop(); |
} |