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

Unified Diff: src/plugin/PluginClientFactory.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
Index: src/plugin/PluginClientFactory.cpp
===================================================================
--- a/src/plugin/PluginClientFactory.cpp
+++ b/src/plugin/PluginClientFactory.cpp
@@ -53,8 +53,10 @@
{
s_criticalSection.Lock();
{
- delete s_mimeFilterInstance;
-
+ if (s_mimeFilterInstance)
Eric 2015/03/27 13:35:50 See comment in Plugin.cpp.
+ {
+ delete s_mimeFilterInstance;
+ }
s_mimeFilterInstance = NULL;
}
s_criticalSection.Unlock();

Powered by Google App Engine
This is Rietveld