diff options
| -rw-r--r-- | src/lua-nng-aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua-nng-aio.c b/src/lua-nng-aio.c index d8f20fd..707dbec 100644 --- a/src/lua-nng-aio.c +++ b/src/lua-nng-aio.c @@ -151,7 +151,7 @@ int lnng_aio_recv(lua_State *L){ /*printf("Freeing things\n");*/
nng_cv_free(cv);
nng_mtx_free(callbackmtx);
- nng_mtx_unlock(luamtx);//mutexes must not be locked when they are freed
+ //nng_mtx_unlock(luamtx);//mutexes must not be locked when they are freed
nng_mtx_free(luamtx);
/*printf("Done freeing everything, returning...\n");*/
return 1;
|
