check myDisposed in read action too

This commit is contained in:
Maxim.Mossienko
2014-02-24 18:49:13 +01:00
parent e29d48f43c
commit 01b095b77b
@@ -220,7 +220,7 @@ public class SearchResults implements DocumentListener {
@Override
public void run() {
Project project = getProject();
if (project != null && project.isDisposed()) return;
if (myDisposed || project != null && project.isDisposed()) return;
int[] starts = new int[0];
int[] ends = new int[0];
try {