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);
}