mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
websocket
remove connection_lock that was not required
This commit is contained in:
@@ -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 == "{}")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user