fix std::system_error when destruction Camera

This commit is contained in:
jario-jin 2023-10-13 17:18:37 +08:00
parent 5c35cfbe78
commit 69ef44c8f7
1 changed files with 2 additions and 2 deletions

View File

@ -809,7 +809,7 @@ VideoWriterBase::VideoWriterBase()
VideoWriterBase::~VideoWriterBase() VideoWriterBase::~VideoWriterBase()
{ {
this->release(); this->release();
this->_tt.join(); // this->_tt.join();
} }
cv::Size VideoWriterBase::getSize() cv::Size VideoWriterBase::getSize()
{ {
@ -991,7 +991,7 @@ CameraBase::CameraBase(CameraType type, int id)
CameraBase::~CameraBase() CameraBase::~CameraBase()
{ {
this->_is_running = false; this->_is_running = false;
this->_tt.join(); // this->_tt.join();
} }
void CameraBase::setWH(int width, int height) void CameraBase::setWH(int width, int height)
{ {