# File lib/ffi-rzmq/context.rb, line 82
    def terminate
      unless @context.nil? || @context.null?
        remove_finalizer
        rc = LibZMQ.terminate_context(@context)
        @context = nil
        rc || 0
      else
        0
      end
    end