Browse Source

Merge pull request #8480 in DESIGN/design from feature/10.0 to feature/big-screen

* commit '481882614cda71665d1113cd2df42956637063ca':
  REPORT-69229 设计器偶发启动不了
feature/big-screen
superman 3 years ago
parent
commit
68453d352e
  1. 5
      designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java

5
designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java

@ -356,7 +356,12 @@ public class DesignerFrame extends JFrame implements JTemplateActionListener, Ta
public void fireDesignerOpened() { public void fireDesignerOpened() {
for (DesignerOpenedListener listener : designerOpenedListenerList) { for (DesignerOpenedListener listener : designerOpenedListenerList) {
// 捕获下异常 避免造成启动过程监听触发异常导致设计器闪退
try {
listener.designerOpened(); listener.designerOpened();
} catch (Throwable e) {
FineLoggerFactory.getLogger().error(e.getMessage(), e);
}
} }
designerOpened = true; designerOpened = true;

Loading…
Cancel
Save