check disposed in read action (EA-53960 - assert: ComponentManagerImpl.getPicoContainer)

This commit is contained in:
Maxim.Mossienko
2014-02-21 21:13:10 +01:00
parent 307a9b9942
commit ca5b7392bf
@@ -219,6 +219,8 @@ public class SearchResults implements DocumentListener {
ApplicationManager.getApplication().runReadAction(new Runnable() {
@Override
public void run() {
Project project = getProject();
if (project != null && project.isDisposed()) return;
int[] starts = new int[0];
int[] ends = new int[0];
try {