Browse Source

Pull request #8457: REPORT-69229 设计器偶发启动不了

Merge in DESIGN/design from ~HADES/design:release/11.0 to release/11.0

* commit '71acd6a8cb871892fbb67fbe4ee4926c3b515415':
  REPORT-69229 设计器偶发启动不了
bugfix/11.0
Hades 3 years ago
parent
commit
dd07f8d8fb
  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

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

Loading…
Cancel
Save