code: function callExitHandlers(context) {
      var i, n;
      for (i = 0, n = this.exits.length; i < n; i++) {
        this.exits[i].call(this, context);
      }
    }
docs: Internal: Invokes all registered exit handlers.