Might be a bit too verbose (not sure if we need to check that the number of threads reduced to 0), but it fixes the memory leak(s) for me. Multiple leaks were possible in case of multiple foreign threads registered into the library.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thank you for the fix!
I can't really comment on the correctness of the fix, but i can confirm that it does indeed fix the leak i was seeing.