zeromq/erlzmq2

erlzmq_nif_resource_socket - enif_release_resource

saltos opened this issue · 1 comments

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.

I mean this function typedef void ErlNifResourceDtor(ErlNifEnv* env, void* obj);.