remove thread.joinable
This commit is contained in:
@@ -13,7 +13,7 @@ rfid_reader::rfid_reader()
|
|||||||
rfid_reader::~rfid_reader()
|
rfid_reader::~rfid_reader()
|
||||||
{
|
{
|
||||||
stop_thread = true;
|
stop_thread = true;
|
||||||
if(thread.joinable()) thread.join();
|
thread.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t rfid_reader::last_id() const
|
uint32_t rfid_reader::last_id() const
|
||||||
|
|||||||
Reference in New Issue
Block a user