From 4c05a9f48b1b9682072c463c616f759a66d6235a Mon Sep 17 00:00:00 2001 From: Lanlan Date: Fri, 2 Sep 2022 11:33:22 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-79345=20=E3=80=90=E5=86=92=E7=83=9F?= =?UTF-8?q?=E3=80=91=E5=88=87=E6=8D=A2=E8=BF=9C=E7=A8=8B=EF=BC=8C=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E5=88=B7=E6=8A=A5=E9=94=99write=20failed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/start/module/DesignerActivator.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java b/designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java index 8e8b5b519a..9787a12158 100644 --- a/designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java +++ b/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 markers = findMutable(InterMutableKey.Path); for (LocaleMarker marker : markers) { @@ -208,8 +208,10 @@ public class DesignerActivator extends Activator implements Prepare { CompletableFuture 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() {