Microsoft.JScript.Vsa.VsaEngine.Restart C# (CSharp) Method

Restart() private method

private Restart ( ) : void
return void
      public void Restart(){
        this.TryObtainLock();
        try{
          ((VsaItems)this.vsaItems).Close();
          if (null != this.globalScope)
            this.globalScope.Close();
          this.globalScope = null;
          this.vsaItems = new VsaItems(this);
          this.isEngineRunning = false;
          this.isEngineCompiled = false;
          this.isCompilerSet = false;
          this.isClosed = false;
          this.runningThread = null;
          this.globals = null;
        }finally{
          this.ReleaseLock();
        }
      }