Browse Source

Merge pull request #767 in BA/design from ~JU/ba-dev-design:dev to dev

* commit '2d53d781b620a0e0aaf867012adb1da7da621e14':
  无JIRA任务 添加插件卸载前监听,性能插件以此进行额外的卸载任务
master
superman 8 years ago
parent
commit
0c65caf9df
  1. 2
      designer_base/src/com/fr/design/extra/PluginHelper.java

2
designer_base/src/com/fr/design/extra/PluginHelper.java

@ -319,6 +319,8 @@ public class PluginHelper {
if (plugin == null || env == null) {
return ArrayUtils.EMPTY_STRING_ARRAY;
}
//卸载前监听
plugin.preUninstall();
PluginLoader.getLoader().deletePlugin(plugin);
return env.deleteFileFromPluginAndLibFolder(plugin);
}

Loading…
Cancel
Save