mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-04-11 06:45:17 +02:00
Only decrement client_count once for WS clients
This was incorrectly added in the fix for #3455. Closes #3475. Thanks to Manuel Janocha
This commit is contained in:
parent
8d0394a977
commit
9b3dc05706
|
|
@ -198,7 +198,6 @@ static int callback_mqtt(
|
|||
HASH_DELETE(hh_sock, db.contexts_by_sock, mosq);
|
||||
mosq->sock = INVALID_SOCKET;
|
||||
mux__delete(mosq);
|
||||
mosq->listener->client_count--;
|
||||
}
|
||||
mosq->wsi = NULL;
|
||||
#ifdef WITH_TLS
|
||||
|
|
|
|||
Loading…
Reference in a new issue