1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 01:36:01 +02:00

Hover should return nothing in case of an interrupt.

This commit is contained in:
Anton Leherbauer 2011-05-16 07:11:28 +00:00
parent e1b18cad3e
commit 30e80b53b2

View file

@ -451,7 +451,7 @@ public abstract class AbstractDebugTextHover implements ICEditorTextHover, IText
job.join(); job.join();
} catch (InterruptedException exc) { } catch (InterruptedException exc) {
job.cancel(); job.cancel();
Thread.currentThread().interrupt(); return ""; //$NON-NLS-1$
} }
if (!job.getResult().isOK()) { if (!job.getResult().isOK()) {
// indeterminate result // indeterminate result