Destroys the $(ZMQ) context.
It is normally not necessary to do this manually, as the context will be destroyed automatically when the last reference to it goes out of scope.
ZmqException if $(ZMQ) reports an error.
$(ZMQREF zmq_ctx_destroy())
auto ctx = Context(); assert (ctx.initialized); ctx.destroy(); assert (!ctx.initialized);
See Implementation
Destroys the $(ZMQ) context.
It is normally not necessary to do this manually, as the context will be destroyed automatically when the last reference to it goes out of scope.