Browse Source

无JIRA任务 环境监听的优先级,先启动activator再触发老的env监听

research/10.0
ju 6 years ago
parent
commit
4c4e2c3ea7
  1. 2
      designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java

2
designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java

@ -86,7 +86,7 @@ public class DesignerStartup extends Activator {
getSub(EnvBasedModule.class).stop(); getSub(EnvBasedModule.class).stop();
} }
}); });
listenEvent(WorkspaceEvent.AfterSwitch, new Listener<Workspace>() { listenEvent(WorkspaceEvent.AfterSwitch, new Listener<Workspace>(Integer.MAX_VALUE) {
@Override @Override
public void on(Event event, Workspace param) { public void on(Event event, Workspace param) {

Loading…
Cancel
Save