|
|
|
@ -11,6 +11,7 @@ import com.fr.event.Event;
|
|
|
|
|
import com.fr.event.Listener; |
|
|
|
|
import com.fr.event.Null; |
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
import com.fr.process.FineProcess; |
|
|
|
|
import com.fr.process.ProcessEventPipe; |
|
|
|
|
import com.fr.process.engine.core.FineProcessContext; |
|
|
|
@ -142,7 +143,10 @@ public class DesignerSuperListener {
|
|
|
|
|
|
|
|
|
|
private void fallBackReport() { |
|
|
|
|
// 60S都没退出去就强制关闭
|
|
|
|
|
EXIT_SERVICE.schedule(() -> System.exit(1), 60, TimeUnit.SECONDS); |
|
|
|
|
EXIT_SERVICE.schedule(() -> { |
|
|
|
|
FineLoggerFactory.getLogger().error("[DesignerSuperListener] The designer failed to exit gracefully, attempting a forced shutdown."); |
|
|
|
|
System.exit(1); |
|
|
|
|
}, 60, TimeUnit.SECONDS); |
|
|
|
|
DesignUtils.initLookAndFeel(); |
|
|
|
|
StartErrorMessageCollector.getInstance().record(DesignerErrorMessage.UNEXCEPTED_FALL_BACK.getId(), |
|
|
|
|
DesignerErrorMessage.UNEXCEPTED_FALL_BACK.getMessage(), |
|
|
|
|