Hi, I was working on a supervisor and connection pool for some riak-erlang-client connections, and noticed that the terminate/2 is empty. Is there a reason terminate/2 isn't the opposite of init/1 as specified in the gen_server documentation? (ie, the init function actually connects, while the terminate does nothing, when I would expect it to disconnect). I think what must happen now if a supervisor terminates a riakc_pb_socket it will signal it via exit, which would cause the gen_server to call terminate/2, but it seems like you still have an open connection at that point.
Anyway, mostly curious if there was a reason before I look into patching my fork. -Anthony -- ------------------------------------------------------------------------ Anthony Molinaro <[email protected]> _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
