We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2571eb0 commit 89ac265Copy full SHA for 89ac265
src/sp/transport/mqttws/nmq_websocket.c
@@ -82,7 +82,7 @@ wstran_pipe_send_cb(void *arg)
82
83
taio = p->txaio;
84
uaio = p->user_txaio;
85
- // nni_mtx_lock(&p->mtx);
+ nni_mtx_lock(&p->mtx);
86
rv = nni_aio_result(taio);
87
if (nni_aio_result(taio) != 0) {
88
log_warn(" send aio error %s", nng_strerror(rv));
@@ -93,7 +93,7 @@ wstran_pipe_send_cb(void *arg)
93
if (uaio != NULL) {
94
if (p->closed){
95
nni_aio_finish_error(uaio, p->err_code);
96
- // nni_mtx_unlock(&p->mtx);
+ nni_mtx_unlock(&p->mtx);
97
return;
98
}
99
if (rv != 0) {
@@ -102,7 +102,7 @@ wstran_pipe_send_cb(void *arg)
102
nni_aio_finish(uaio, 0, 0);
103
104
105
106
107
108
static void
0 commit comments