docs: function () {
        _emberMetalDebug.assert('Calling reset() on instances of `Ember.Application` is not\n            supported when globals mode is disabled; call `visit()` to\n            create new `Ember.ApplicationInstance`s and dispose them\n            via their `destroy()` method instead.', this._globalsMode && this.autoboot);
  
        var instance = this.__deprecatedInstance__;
  
        this._readinessDeferrals = 1;
        this._bootPromise = null;
        this._bootResolver = null;
        this._booted = false;
  
        function handleReset() {
          _emberMetalRun_loop.default(instance, 'destroy');
          this._buildDeprecatedInstance();
          _emberMetalRun_loop.default.schedule('actions', this, '_bootSync');
        }
  
        _emberMetalRun_loop.default.join(this, handleReset);
      }