void (@NotNull ProcessEvent event) { clearRestarterListener(processHandler); ApplicationManager.getApplication().invokeLater(() -> { if (isAutoTestEnabled(descriptor) && isUpToDate.getAsBoolean()) { restart(descriptor); } }, ModalityState.any()); }