void () { synchronized (myLock) { myClosed = true; mySuspended = false; ((ProgressManagerImpl)ProgressManager.getInstance()).removeCheckCanceledHook(myHook); } for (ProgressIndicator progress : myProgresses) { ((UserDataHolder) progress).putUserData(PROGRESS_SUSPENDER, null); } }