void () { new RunAll( () -> AsyncVfsEventsPostProcessorImpl.waitEventsProcessed(), () -> { myTaskManager.setRepositories(Collections.emptyList()); myTaskManager.getState().taskHistoryLength = 50; }, () -> AllVcses.getInstance(getProject()).unregisterManually(myVcs), () -> { myTaskManager = null; myVcs = null; myChangeListManager = null; }, () -> super.tearDown() ).run(); }