# File lib/em-websocket/connection.rb, line 24
      def trigger_on_close
        @onclose.call if @onclose
      end