erlzmq_nif_resource_socket - enif_release_resource
saltos opened this issue · 1 comments
saltos commented
Why you have no enif_release_resource function
for the erlzmq_nif_resource_socket
?
ZeroMQ does not free socket descriptor on Erlang process crash and I get core dump with "Too many open files" error.
saltos commented
I mean this function typedef void ErlNifResourceDtor(ErlNifEnv* env, void* obj);
.