Index: src/plugin/Plugin.cpp |
=================================================================== |
--- a/src/plugin/Plugin.cpp |
+++ b/src/plugin/Plugin.cpp |
@@ -31,6 +31,7 @@ |
#include "PluginMimeFilterClient.h" |
#include "Msiquery.h" |
#include "PluginFilter.h" |
+#include "PluginClientFactory.h" |
#include "../shared/Dictionary.h" |
@@ -85,12 +86,8 @@ |
delete CPluginSettings::s_instance; |
} |
- if (CPluginClass::s_mimeFilter != NULL) |
- { |
- CPluginClass::s_mimeFilter->Unregister(); |
- CPluginClass::s_mimeFilter = NULL; |
- } |
- |
+ CPluginClientFactory::ReleaseMimeFilterClientInstance(); |
Eric
2015/03/27 13:35:50
I've seen a crash recently during shutdown when 's
|
+ |
_CrtDumpMemoryLeaks(); |
} |
return (_Module.GetLockCount() == 0) ? S_OK : S_FALSE; |