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

DoClose() protected method

protected DoClose ( ) : void
return void
      protected override void DoClose(){
        ((VsaItems)this.vsaItems).Close();
        if (null != this.globalScope)
          this.globalScope.Close();
        this.vsaItems = null;
        this.engineSite = null;
        this.globalScope = null;
        this.runningThread = null;
        this.compilerGlobals = null;
        this.globals = null;
        ScriptStream.Out = Console.Out;
        ScriptStream.Error = Console.Error;
        this.rawPE = null;
        this.rawPDB = null;
        this.isClosed = true;
        if (this.tempDirectory != null && Directory.Exists(this.tempDirectory))
          Directory.Delete(this.tempDirectory);
      }