Browse Source

Merge pull request #394 in DESIGN/design from ~ZACK/design:feature/10.0 to feature/10.0

* commit '33f48cab40a2741d7a97cf688cfbca45ce3def02':
  REPORT-10384 设计器预览启动假死问题,本地目录切换也显示启动动画
research/10.0
zack 6 years ago
parent
commit
07f037353f
  1. 5
      designer-base/src/main/java/com/fr/start/server/FineEmbedServerMonitor.java

5
designer-base/src/main/java/com/fr/start/server/FineEmbedServerMonitor.java

@ -27,7 +27,8 @@ public class FineEmbedServerMonitor {
EventDispatcher.listen(EmbedServerEvent.AfterStop, new Listener<Null>() { EventDispatcher.listen(EmbedServerEvent.AfterStop, new Listener<Null>() {
@Override @Override
public void on(Event event, Null aNull) { public void on(Event event, Null aNull) {
DesignerContext.getDesignerFrame().disposeProgressDialog(); getInstance().reset();
DesignerContext.getDesignerFrame().hideProgressDialog();
} }
}); });
} }
@ -81,7 +82,7 @@ public class FineEmbedServerMonitor {
} catch (InterruptedException ignore) { } catch (InterruptedException ignore) {
} }
} }
DesignerContext.getDesignerFrame().disposeProgressDialog(); DesignerContext.getDesignerFrame().hideProgressDialog();
} }
}); });
service.shutdown(); service.shutdown();

Loading…
Cancel
Save