We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我在执行以下代码时,无法完全释放viewer指向的内存,每次循环大约6-8M内存泄漏,请问是调用方式有问题,还是释放方式不对。谢谢。 while(true){ pcl::visualization::PCLVisualizer::Ptr viewer(new pcl::visualization::PCLVisualizer("")); viewer->close(); // 关闭窗口 viewer.reset(); // 显式释放 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我在执行以下代码时,无法完全释放viewer指向的内存,每次循环大约6-8M内存泄漏,请问是调用方式有问题,还是释放方式不对。谢谢。
while(true){
pcl::visualization::PCLVisualizer::Ptr viewer(new pcl::visualization::PCLVisualizer(""));
viewer->close(); // 关闭窗口
viewer.reset(); // 显式释放
}
The text was updated successfully, but these errors were encountered: