Browse Source

REPORT-10384 设计器预览启动假死问题,本地目录切换也显示启动动画

research/10.0
zack 6 years ago
parent
commit
bcafc5ce1d
  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>() {
@Override
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) {
}
}
DesignerContext.getDesignerFrame().disposeProgressDialog();
DesignerContext.getDesignerFrame().hideProgressDialog();
}
});
service.shutdown();

Loading…
Cancel
Save