Browse Source

Merge pull request #8477 in DESIGN/design from release/10.0 to bugfix/10.0

* commit 'b3b04d2d2e5a21193d38f6c51107acbcd58dffb6':
  REPORT-69229 设计器偶发启动不了
bugfix/10.0
superman 3 years ago
parent
commit
11dd3bdcc0
  1. 7
      designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java

7
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) {
listener.designerOpened(); // 捕获下异常 避免造成启动过程监听触发异常导致设计器闪退
try {
listener.designerOpened();
} catch (Throwable e) {
FineLoggerFactory.getLogger().error(e.getMessage(), e);
}
} }
designerOpened = true; designerOpened = true;

Loading…
Cancel
Save