|
|
@ -37,7 +37,7 @@ public class DesignerSuperListener { |
|
|
|
|
|
|
|
|
|
|
|
private final ScheduledExecutorService service = Executors.newScheduledThreadPool(2, new NamedThreadFactory("DesignerListener")); |
|
|
|
private final ScheduledExecutorService service = Executors.newScheduledThreadPool(2, new NamedThreadFactory("DesignerListener")); |
|
|
|
private final ExecutorService helpService = Executors.newSingleThreadExecutor( new NamedThreadFactory("DesignerSuperListener-Help")); |
|
|
|
private final ExecutorService helpService = Executors.newSingleThreadExecutor( new NamedThreadFactory("DesignerSuperListener-Help")); |
|
|
|
|
|
|
|
private final ScheduledExecutorService EXIT_SERVICE = Executors.newSingleThreadScheduledExecutor( new NamedThreadFactory("DesignerSuperListener-Exit")); |
|
|
|
private FineProcess process; |
|
|
|
private FineProcess process; |
|
|
|
private ScheduledFuture fixedFuture; |
|
|
|
private ScheduledFuture fixedFuture; |
|
|
|
private ScheduledFuture onceFuture; |
|
|
|
private ScheduledFuture onceFuture; |
|
|
@ -141,6 +141,8 @@ public class DesignerSuperListener { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void fallBackReport() { |
|
|
|
private void fallBackReport() { |
|
|
|
|
|
|
|
// 60S都没退出去就强制关闭
|
|
|
|
|
|
|
|
EXIT_SERVICE.schedule(() -> System.exit(1), 60, TimeUnit.SECONDS); |
|
|
|
DesignUtils.initLookAndFeel(); |
|
|
|
DesignUtils.initLookAndFeel(); |
|
|
|
StartErrorMessageCollector.getInstance().record(DesignerErrorMessage.UNEXCEPTED_FALL_BACK.getId(), |
|
|
|
StartErrorMessageCollector.getInstance().record(DesignerErrorMessage.UNEXCEPTED_FALL_BACK.getId(), |
|
|
|
DesignerErrorMessage.UNEXCEPTED_FALL_BACK.getMessage(), |
|
|
|
DesignerErrorMessage.UNEXCEPTED_FALL_BACK.getMessage(), |
|
|
|