mer-packages/qtdeclarative — pull request #49 by adenexter (2013-12-13 04:13:13+00:00)
Title: [qtdeclarative] Fix deadlock when QQmlEngine is destroyed during compila...

...tion.

Before blocking to wait for the thread to finish ensure the thread
itself is not waiting for the main thread to complete some action
otherwise both threads will be waiting on the same wait condition that
neither is able to wake. Likewise ensure the shutdown action is
processed if the last scheduled event is currently being processed.