void (@NotNull IdeFrame ideFrame) { if (ApplicationManager.getApplication().isDisposed()) { return; } // don't fire events when welcome screen is activated/deactivated if (ideFrame instanceof IdeFrameImpl) { LifecycleUsageTriggerCollector.onFrameDeactivated(ideFrame.getProject()); } publisher.onFrameDeactivated(); }