Browse Source

REPORT-79345 【冒烟】切换远程,日志刷报错write failed

release/11.0
Lanlan 2 years ago
parent
commit
4c05a9f48b
  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