Browse Source

Pull request #9926: REPORT-79345 【冒烟】切换远程,日志刷报错write failed

Merge in DESIGN/design from ~LANLAN/design:final/11.0 to final/11.0

* commit '4d4c4989317bfb3ef9a32e8b92e6b4aac1b6f24d':
  REPORT-79345 【冒烟】切换远程,日志刷报错write failed
new-design
Lanlan 2 years ago
parent
commit
4d91b71e26
  1. 10
      designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java

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

@ -173,7 +173,7 @@ public class DesignerActivator extends Activator implements Prepare {
@Override
public void start() {
List<LocaleMarker> markers = findMutable(InterMutableKey.Path);
for (LocaleMarker marker : markers) {
@ -208,8 +208,10 @@ public class DesignerActivator extends Activator implements Prepare {
CompletableFuture<Void> resourcePrepare = CompletableFuture.runAsync(() -> {
pushUpdateTask.run();
PluginResourceLoader.INSTANCE.checkOldShopFile();
UpmResourceLoader.INSTANCE.checkOldShopFile();
if (WorkContext.getCurrent().isLocal()) {
PluginResourceLoader.INSTANCE.checkOldShopFile();
UpmResourceLoader.INSTANCE.checkOldShopFile();
}
}, DesignerStartupPool.common());
CompletableFuture
@ -552,7 +554,7 @@ public class DesignerActivator extends Activator implements Prepare {
}
private void startBBSLoginAuthServer() {
OptimizeUtil.open(() -> {
// 设计器启动后启动
EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener<Null>() {

Loading…
Cancel
Save