提交 0d5b739d 编写于 作者: I Ilya Lavrenov

delete video readers

上级 454e5e5f
...@@ -396,6 +396,10 @@ TEST(Highgui_Video_parallel_writers_and_readers, accuracy) ...@@ -396,6 +396,10 @@ TEST(Highgui_Video_parallel_writers_and_readers, accuracy)
if (code == 1) if (code == 1)
std::cerr << "Couldn't delete " << *i << std::endl; std::cerr << "Couldn't delete " << *i << std::endl;
} }
// delete the readers
for (std::vector<VideoCapture *>::iterator i = readers.begin(), end = readers.end(); i != end; ++i)
delete *i;
} }
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册