exitFrame() {
          if (this.contexts && this.contexts.length > 1) {
              this.contexts = this.contexts.slice();
              this.contexts.splice(-1);
              this.currentContextIds.shift();
          }
          else {
              throw new Error('Cannot exit frame, the context is empty');
          }
      }
/**
       * Exit the current frame, the last context is removed from the current
       * context list.
       */
Exit the current frame, the last context is removed from the current
context list.
Exit the current frame the last context is removed from the current context list .
exitFrame() {
          if (this.contexts && this.contexts.length > 1) {
              this.contexts = this.contexts.slice();
              this.contexts.splice(-1);
              this.currentContextIds.shift();
          }
          else {
              throw new Error('Cannot exit frame, the context is empty');
          }
      }
exitFrame ( ) { if ( this . contexts && this . contexts . length > 1 ) { this . contexts = this . contexts . slice ( ) ; this . contexts . splice ( - 1 ) ; this . currentContextIds . shift ( ) ; } else { throw new Error ( 'Cannot exit frame, the context is empty' ) ; } }
Exit the current frame, the last context is removed from the current
 context list.
Exit the current frame the last context is removed from the current context list .