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

addon: Fix logger crash when node is shutting down #768

Merged
merged 3 commits into from
May 22, 2024

Conversation

grigasp
Copy link
Member

@grigasp grigasp commented May 21, 2024

Fixes #766.

It was possible that m_processLogsOnMainThread is cleaned up on the main thread while another thread was using it in LogMessage. Protect those areas with a mutex.

@grigasp grigasp merged commit b2f821f into main May 22, 2024
18 checks passed
@grigasp grigasp deleted the addon/fix-sporadic-logger-crash branch May 22, 2024 11:23
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.

Sentry crash report: EXCEPTION_ACCESS_VIOLATION_WRITE
2 participants