Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Guard AnalysisResult::m_files with a lock
Summary: For parse-on-demand, we were checking to see if a file had already been parsed without aquiring a lock. That could result in a crash if files were inserted during the lookup. Test Plan: Running the command from the task resulted in a crash once in about 10 tries before the fix. After the fix I ran it 3000 times with no failures. Reviewers: qigao, myang Reviewed By: qigao CC: ps, mwilliams, qigao Differential Revision: 351734 Task ID: 778331
- Loading branch information