fix std::system_error when destruction Camera
This commit is contained in:
parent
5c35cfbe78
commit
69ef44c8f7
|
@ -809,7 +809,7 @@ VideoWriterBase::VideoWriterBase()
|
|||
VideoWriterBase::~VideoWriterBase()
|
||||
{
|
||||
this->release();
|
||||
this->_tt.join();
|
||||
// this->_tt.join();
|
||||
}
|
||||
cv::Size VideoWriterBase::getSize()
|
||||
{
|
||||
|
@ -991,7 +991,7 @@ CameraBase::CameraBase(CameraType type, int id)
|
|||
CameraBase::~CameraBase()
|
||||
{
|
||||
this->_is_running = false;
|
||||
this->_tt.join();
|
||||
// this->_tt.join();
|
||||
}
|
||||
void CameraBase::setWH(int width, int height)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue