Skip to content

Conversation

@wangtao9
Copy link
Contributor

See #4237 for details:

image

@wangtao9 wangtao9 changed the title fix memory leak risk of cpp target Fix Memory Leak Risk of Cpp Target Jun 25, 2023
@kaby76 kaby76 mentioned this pull request Jun 27, 2023
@wangtao9
Copy link
Contributor Author

That's it, I've rebased the latest dev branch and all checks passed!

Before this fix, there was a risk of a memory leak when threads exited prematurely, which was also reported by the asan (AddressSanitizer) check. This PR fixes the above problem, you can use this example to verify the effect: https://github.com/wangtao9/antlr4-perfopt-test/tree/sanitizer_check

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.

1 participant