|
|
@ -472,7 +472,7 @@ public class HistoryTemplateListCache implements CallbackEvent { |
|
|
|
FineLoggerFactory.getLogger().info("{} find plugin classloader spend: {} ms", name, (System.currentTimeMillis() - start)); |
|
|
|
FineLoggerFactory.getLogger().info("{} find plugin classloader spend: {} ms", name, (System.currentTimeMillis() - start)); |
|
|
|
if (set != null) { |
|
|
|
if (set != null) { |
|
|
|
for (ClassLoader classLoader : set) { |
|
|
|
for (ClassLoader classLoader : set) { |
|
|
|
if (ComparatorUtils.equals(pluginId, PluginManager.findPluginId(classLoader))) { |
|
|
|
if (ComparatorUtils.equals(pluginId, PluginManager.detectLeakingPlugin(classLoader))) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|