This commit is contained in:
parent
4232d30a74
commit
53b018c872
|
@ -239,8 +239,8 @@ hg_scanner::~hg_scanner()
|
|||
close(true);
|
||||
|
||||
hg_version_free_handle();
|
||||
//if (thread_read_int_.get() && thread_read_int_->joinable())
|
||||
// thread_read_int_->join();
|
||||
if (thread_read_int_.get() && thread_read_int_->joinable())
|
||||
thread_read_int_->join();
|
||||
if (thread_usb_read_.get() && thread_usb_read_->joinable())
|
||||
thread_usb_read_->join();
|
||||
if (thread_img_handle_.get() && thread_img_handle_->joinable())
|
||||
|
|
Loading…
Reference in New Issue