salesforce / p4-fusion

A fast Perforce to Git conversion tool written in C++ using Perforce Helix Core C++ API and Libgit2
BSD 3-Clause "New" or "Revised" License
78 stars 15 forks source link

Fix crash due to incorrect condition variable usage #77

Closed peter-esik closed 2 months ago

peter-esik commented 2 months ago
peter-esik commented 2 months ago

Some additional thoughts:

twarit-waikar commented 2 months ago

This is an interesting case that you have found, thanks for sending in this PR. I agree the possibility of a crash is here and this is one easy way to fix it.