EA-210002: handle interruption in case of background inline callable searcher task

This commit is contained in:
Yan Zhulanow
2019-11-15 00:59:36 +09:00
parent 36073ef61e
commit aaa45425da
@@ -71,7 +71,11 @@ class InlineCallableUsagesSearcher(private val myDebugProcess: DebugProcess) {
myDebugProcess.project)
}
else {
ProgressManager.getInstance().runProcess(task, EmptyProgressIndicator())
try {
ProgressManager.getInstance().runProcess(task, EmptyProgressIndicator())
} catch (e: InterruptedException) {
isSuccess = false;
}
}
if (!isSuccess) {