mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Eable leave connection
This commit is contained in:
@@ -32,7 +32,9 @@ WsCore::~WsCore() {
|
||||
LOG_INFO("> Error closing connection {}", ec.message());
|
||||
}
|
||||
|
||||
m_thread_->join();
|
||||
if (m_thread_->joinable()) {
|
||||
m_thread_->join();
|
||||
}
|
||||
}
|
||||
|
||||
int WsCore::Connect(std::string const &uri) {
|
||||
|
||||
Reference in New Issue
Block a user