public void Dispose() { try { // TODO -- need to figure about exceptions here if (_runner != null) _runner.Dispose(); } catch (Exception) { } }
public void Teardown() { try { if (_proxy != null) { _proxy.Dispose(); } } catch (Exception) { } _proxy = null; if (_domain != null) { AppDomain.Unload(_domain); _domain = null; } }