Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/Plugin.cpp

Issue 5168444685156352: Issue 1201 - Enabling/disabling ABP everywhere applies only in the next opened tab (Closed)
Patch Set: Created March 27, 2015, 7:34 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/plugin/PluginClass.cpp » ('j') | src/plugin/PluginClass.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/plugin/PluginClass.cpp » ('j') | src/plugin/PluginClass.cpp » ('J')

Powered by Google App Engine
This is Rietveld