websocket

remove connection_lock that was not required
This commit is contained in:
2024-08-28 19:09:55 +02:00
parent ffe446d565
commit 733858af7a
-1
View File
@@ -109,7 +109,6 @@ void Websocket::process_messages()
break; break;
case MESSAGE: case MESSAGE:
{ {
std::lock_guard<std::mutex> guard(m_connection_lock);
std::string response = m_on_message(a.msg->get_payload()); std::string response = m_on_message(a.msg->get_payload());
if (response.empty() || response == "{}") if (response.empty() || response == "{}")
{ {