Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash-on-shutdown around all "CE" powered commands #534

Merged
merged 3 commits into from
May 4, 2022

Conversation

BillyONeal
Copy link
Member

introduced in 0840ffd

These commands called into CE bits, and exit_with_code, while holding the lock. This causes an immediate crash on shutdown because the lock is reentered. This change ensures that a minimal amount of code runs while holding the lock.

…icrosoft@0840ffd

These commands called into CE bits, and exit_with_code, while holding the lock. This causes an immediate crash on shutdown because the lock is reentered. This change ensures that a minimal amount of code runs while holding the lock.
src/vcpkg/commands.find.cpp Outdated Show resolved Hide resolved
@BillyONeal BillyONeal requested a review from vicroms May 4, 2022 21:58
@BillyONeal BillyONeal merged commit 67e17c1 into microsoft:main May 4, 2022
@BillyONeal BillyONeal deleted the race-fix branch May 4, 2022 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants