issuu/ocaml-zmq — pull request #16 by whitequark (2014-05-16 21:19:40+00:00)
Title: Finalizer improvements

Don't finalize context if it's already terminated explicitly.

Add a finalizer that closes socket.
This way bound sockets will not linger forever and leak resources.