Closed 511844767 closed 2 months ago
如下一段程序
#include <iostream> #include <thread> #include <chrono> int main(){ auto t1 = std::thread([]{ std::cout << "Hello\n"; }); t1.join(); }
输出的malloc.html有内存泄漏
pull一下吧,现在多线程应该没有问题了。
破案了,这是wsl的bug
如下一段程序
输出的malloc.html有内存泄漏![image](https://github.com/archibate/mallocvis/assets/90088954/73c52e66-e63d-42b3-867c-e0222d8dbd04)