diff --git a/tools/websocket.cpp b/tools/websocket.cpp index 9cd7dd9..9beffb1 100644 --- a/tools/websocket.cpp +++ b/tools/websocket.cpp @@ -109,7 +109,6 @@ void Websocket::process_messages() break; case MESSAGE: { - std::lock_guard guard(m_connection_lock); std::string response = m_on_message(a.msg->get_payload()); if (response.empty() || response == "{}") {