public void Teardown() { if (_cacheHandler != null) { _cacheHandler.Unbind(); } _cacheHandler = null; ServerRegistrarResolver.Reset(); ServerMessengerResolver.Reset(); CacheRefreshersResolver.Reset(); }
public void Teardown() { if (_cacheHandler != null) { _cacheHandler.Unbind(); } _cacheHandler = null; _onPublishedAssertAction = null; content.HttpContextItemsGetter = null; ContentService.Published -= OnPublishedAssert; SafeXmlReaderWriter.Cloning = null; ServerRegistrarResolver.Reset(); ServerMessengerResolver.Reset(); CacheRefreshersResolver.Reset(); }