Index: tools/gn/input_file_manager.cc |
diff --git a/tools/gn/input_file_manager.cc b/tools/gn/input_file_manager.cc |
index cc41039c07eac9c63d5b1ebedc6c8861effb8cb8..0c4bf280c408a2722e6145d821d2e57da42de6d8 100644 |
--- a/tools/gn/input_file_manager.cc |
+++ b/tools/gn/input_file_manager.cc |
@@ -152,6 +152,9 @@ const ParseNode* InputFileManager::SyncLoadFile( |
base::AutoUnlock unlock(lock_); |
data->completion_event->Wait(); |
} |
+ // If there were multiple waiters on the same event, we now need to wake |
+ // up the next one. |
+ data->completion_event->Signal(); |
} |
} |