From 77ef195ebbfcbb6f0e7a164f9b2d71e6e281035b Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 19 Jan 2012 18:58:04 +0100 Subject: [PATCH] and revert test killability again, it causes index corruption in sane conditions --- .../src/com/intellij/util/indexing/FileBasedIndex.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndex.java b/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndex.java index a8262f35ff6c..ced92a753e96 100644 --- a/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndex.java +++ b/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndex.java @@ -316,12 +316,7 @@ public class FileBasedIndex implements ApplicationComponent { ShutDownTracker.getInstance().registerShutdownTask(new Runnable() { @Override public void run() { - ShutDownTracker.invokeAndWait(ApplicationManager.getApplication().isUnitTestMode(), false, new Runnable() { - @Override - public void run() { - performShutdown(); - } - }); + performShutdown(); } }); //FileUtil.createIfDoesntExist(workInProgressFile);