[sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)
Victor Seva
notifications at github.com
Wed Sep 28 12:17:30 CEST 2022
@eschmidbauer maybe this?
```
diff --git a/src/modules/nats/nats_mod.c b/src/modules/nats/nats_mod.c
index 852d0fbbab..35e6b2612f 100644
--- a/src/modules/nats/nats_mod.c
+++ b/src/modules/nats/nats_mod.c
@@ -588,7 +588,8 @@ int nats_destroy_workers()
LM_ERR("could not cleanup worker connection\n");
}
}
- uv_poll_stop(&pub_worker->poll);
+ if(pub_worker->poll->type != UV_UNKNOWN_HANDLE)
+ uv_poll_stop(&pub_worker->poll);
shm_free(pub_worker);
}
}
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3253#issuecomment-1260694269
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3253/1260694269 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220928/785100a9/attachment.htm>
More information about the sr-dev
mailing list