mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
[292271] DsfSession.addServiceEventListener must be used on the Executor thread.
This commit is contained in:
parent
e8ef8a942a
commit
8595a6080b
1 changed files with 5 additions and 1 deletions
|
@ -66,7 +66,11 @@ public class TracingConsole extends IOConsole {
|
|||
@Override
|
||||
protected void init() {
|
||||
super.init();
|
||||
fSession.addServiceEventListener(this, null);
|
||||
fSession.getExecutor().submit(new DsfRunnable() {
|
||||
public void run() {
|
||||
fSession.addServiceEventListener(TracingConsole.this, null);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue