public void TestCleanup() { if (_Host != null) { _Host.Dispose(); } Factory.RestoreSnapshot(_Snapshot); }
public void TestCleanup() { if (_RequestStream != null) { _RequestStream.Dispose(); _RequestStream = null; } if (_ResponseStream != null) { _ResponseStream.Dispose(); _ResponseStream = null; } if (_RamHost != null) { _RamHost.Dispose(); _RamHost = null; } ExtraCleanup(); Factory.RestoreSnapshot(_Snapshot); }