void () { try { myProjectSdksModel.apply(); } catch (ConfigurationException e) { LOG.error(e); } myModified = false; final Sdk sdk = getOriginalSelectedSdk(); mySelectedSdkCallback.consume(sdk); if (sdk != null) { PyPackageManagers.getInstance().clearCache(sdk); } Disposer.dispose(getDisposable()); }