Browse Source

KERNEL-10354

bytebuddy / 加解密性能优化 @Harrison
10.0.14 不发,暂时关上。代码就不回退了。
feature/x
Harrison 3 years ago
parent
commit
312525df0f
  1. 7
      designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java

7
designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java

@ -495,12 +495,15 @@ public class DesignerActivator extends Activator implements Prepare {
@Override @Override
public void prepare() { public void prepare() {
OptimizeUtil.close(() -> {
LoginAuthServer.getInstance().compatibleStart();
});
ContentReplacerCenter.getInstance().register(); ContentReplacerCenter.getInstance().register();
} }
private void startLoginAuthServer() { private void startLoginAuthServer() {
OptimizeUtil.execute(() -> { OptimizeUtil.open(() -> {
// 设计器启动后启动 // 设计器启动后启动
EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener<Null>() { EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener<Null>() {
@Override @Override
@ -508,8 +511,6 @@ public class DesignerActivator extends Activator implements Prepare {
LoginAuthServer.getInstance().start(); LoginAuthServer.getInstance().start();
} }
}); });
}, () -> {
LoginAuthServer.getInstance().compatibleStart();
}); });
} }
} }

Loading…
Cancel
Save