public void Dispose() { Watch.Stop(); ProcessManager.Dispose(); TaskManager.Dispose(); ourContext?.Dispose(); Logger.Trace($"STOP {TestName} :{Watch.ElapsedMilliseconds}ms"); }
protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { _processManager.Dispose(); } _disposedValue = true; } }
public void Dispose() { Watch.Stop(); #if NUNIT try { if (HttpServer != null) { HttpServer.Stop(); } } catch { } #endif ProcessManager.Dispose(); if (SynchronizationContext.Current is IMainThreadSynchronizationContext ourContext) { ourContext.Dispose(); } TaskManager.Dispose(); Logger.Trace($"STOP {TestName} :{Watch.ElapsedMilliseconds}ms"); }
public void Dispose() { _processManager.Dispose(); }