mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 346125 - Exception when disposing TracingConsole
This commit is contained in:
parent
fae15af193
commit
24d1fac035
1 changed files with 9 additions and 5 deletions
|
@ -82,11 +82,15 @@ public class TracingConsole extends IOConsole {
|
||||||
fTracingStream.close();
|
fTracingStream.close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
}
|
}
|
||||||
fSession.getExecutor().submit(new DsfRunnable() {
|
try {
|
||||||
public void run() {
|
fSession.getExecutor().submit(new DsfRunnable() {
|
||||||
fSession.removeServiceEventListener(TracingConsole.this);
|
public void run() {
|
||||||
}
|
fSession.removeServiceEventListener(TracingConsole.this);
|
||||||
});
|
}
|
||||||
|
});
|
||||||
|
} catch (RejectedExecutionException e) {
|
||||||
|
// Session already disposed
|
||||||
|
}
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue