commit | 56b2e0256d3a18f1fede244fdae53344a54f97be | [log] [tgz] |
---|---|---|
author | veranika <veranika@chromium.org> | Tue Feb 14 22:17:22 2017 |
committer | Commit bot <commit-bot@chromium.org> | Tue Feb 14 22:17:22 2017 |
tree | 508bf00c378ac5329739e1010f3bae3d6cb66cc7 | |
parent | a2c8d4e19195864426a799ef7c4f5ba3c079224c [diff] |
Fix race condition in gitdeps.py The loop to delete orphaned directories uses threading to delete directories in parallel. Threads were created from a lambda function, which closed a variable. The variable was redefined in a loop, which lead to a race condition. BUG= Review-Url: https://codereview.chromium.org/2693863004