Index: src/plugin/PluginMimeFilterClient.cpp |
=================================================================== |
--- a/src/plugin/PluginMimeFilterClient.cpp |
+++ b/src/plugin/PluginMimeFilterClient.cpp |
@@ -25,7 +25,7 @@ |
typedef PassthroughAPP::CMetaFactory<PassthroughAPP::CComClassFactoryProtocol,WBPassthru> MetaFactory; |
-CPluginMimeFilterClient::CPluginMimeFilterClient() : m_classFactory(NULL), m_spCFHTTP(NULL), m_spCFHTTPS(NULL) |
+CPluginMimeFilterClient::CPluginMimeFilterClient() : m_spCFHTTP(NULL), m_spCFHTTPS(NULL) |
{ |
// Should only be called once |
// We register mime filters here |
@@ -90,16 +90,4 @@ |
} |
} |
-} |
- |
-void CPluginMimeFilterClient::Unregister() |
-{ |
- CComPtr<IInternetSession> spSession; |
- |
- ::CoInternetGetSession(0, &spSession, 0); |
- if (spSession) |
- { |
- spSession->UnregisterNameSpace(m_spCFHTTP, L"http"); |
- spSession->UnregisterNameSpace(m_spCFHTTPS, L"https"); |
- } |
-} |
+} |