Browse Source

merge:REPORT-49986 【10.0.16】性能优化之阻塞EDT线程时优化 fix

feature/big-screen
shine 3 years ago
parent
commit
33f83219cc
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java

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

@ -146,6 +146,10 @@ public class DesignerFrame extends JFrame implements JTemplateActionListener, Ta
@Override
public void windowClosing(WindowEvent e) {
// 关闭前check
if (!TemplateSavingChecker.check()) {
return;
}
//关闭前当前模板 停止编辑
HistoryTemplateListCache.getInstance().getCurrentEditingTemplate().stopEditing();
SaveSomeTemplatePane saveSomeTempaltePane = new SaveSomeTemplatePane(true);

Loading…
Cancel
Save