TaskManagerTestCase: call super.tearDown() in finally block

This commit is contained in:
Yann Cébron
2015-08-20 08:57:45 +02:00
parent 933222a61e
commit b0a3f93204
@@ -16,7 +16,6 @@
package com.intellij.tasks;
import com.intellij.tasks.impl.TaskManagerImpl;
import com.intellij.testFramework.IdeaTestCase;
import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase;
import java.util.Collections;
@@ -43,8 +42,8 @@ public abstract class TaskManagerTestCase extends LightCodeInsightFixtureTestCas
}
finally {
myTaskManager = null;
super.tearDown();
}
super.tearDown();
}
private void removeAllTasks() {