Open saltos opened 10 years ago
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.
enif_release_resource function
erlzmq_nif_resource_socket
I mean this function typedef void ErlNifResourceDtor(ErlNifEnv* env, void* obj);.
typedef void ErlNifResourceDtor(ErlNifEnv* env, void* obj);
Why you have no
enif_release_resource function
for theerlzmq_nif_resource_socket
? ZeroMQ does not free socket descriptor on Erlang process crash and I get core dump with "Too many open files" error.