aboutsummaryrefslogtreecommitdiff
path: root/src/bug_report.cpp
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-04-28 14:03:11 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-04-28 14:03:11 -0400
commitf1c13d6bd8ad7390ba29d5d6de79596b9b53bf24 (patch)
tree4f79521c855633a5c6926ca42ff1b5c033ede853 /src/bug_report.cpp
parenta37826e646c4c88974fad9a9ff1749e55dc7f52f (diff)
Fix race condition in `error_va`
If the error count exceeded `MAX_ERROR_COLLECTOR_COUNT`, multiple threads could print and exit simultaneously, causing a segfault. This change moves the mutex lock back before the conditional.
Diffstat (limited to 'src/bug_report.cpp')
0 files changed, 0 insertions, 0 deletions