remove thread.joinable

This commit is contained in:
Siegfried Kienzle
2017-06-15 19:21:03 +02:00
parent d522a24c0f
commit 49a886d2ea

View File

@@ -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