Bug 355011 - Deadlock on creating console in the build thread

Do not create console directly in the launchChanged() callback, because
the current thread may hold already some lock, and if the
ProcessConsole() init requires another one lock, we will have a classic
deadlock. In case of bug 355011 current thread owns workspace lock and
ProcessConsole() init requires UI lock.

Change-Id: Ia01df4cb3f714b16fce84620538e66aa3de10b76
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
1 file changed