1
0
Fork 0
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:
Marc Khouzam 2009-10-14 15:27:03 +00:00
parent e8ef8a942a
commit 8595a6080b

View file

@ -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