void () { super.setRejected(); try { Profiler.getCurrentProfilerHandler().stopProfiling(new ArrayList<>()); } catch (Exception ignored) { } final Notification errorNotification = new Notification(PlaybackRunnerExtended.NOTIFICATION_GROUP, PerformanceTestingBundle.message("callback.stop"), errorText(), NotificationType.ERROR); Notifications.Bus.notify(errorNotification); }