EA-210002: handle interruption in case of background inline callable searcher task
This commit is contained in:
+5
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user