and revert test killability again, it causes index corruption in sane conditions
authorpeter <peter@jetbrains.com>
Thu, 19 Jan 2012 17:58:04 +0000 (18:58 +0100)
committerpeter <peter@jetbrains.com>
Thu, 19 Jan 2012 18:07:28 +0000 (19:07 +0100)
platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndex.java

index a8262f35ff6c2a35ba303c0cabb6f0fd089d44eb..ced92a753e96862508bd3508c28d421a3815a4a4 100644 (file)
@@ -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);