public int Start() { try { _engine.ExecuteModule(_module); return(0); } catch (ScriptInterruptionException e) { return(e.ExitCode); } catch (Exception e) { _host.ShowExceptionInfo(e); return(1); } finally { //AttachedScriptsFactory.Dispose(); _engine = null; } }