diff options
| author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-03-02 12:55:37 +0100 |
|---|---|---|
| committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-03-11 10:46:43 +0000 |
| commit | 156be545785d959aa07bd2afd99ddfd6098ab85d (patch) | |
| tree | c13bcb3b1ca8775dcc1c785472a6fdb0dc5a13e7 /qmake/generators/unix/unixmake2.cpp | |
| parent | 2002103baac593e9193d9501dc0e1b1e9e28446a (diff) | |
Avoid deadlock when suspending app at startup
QWindowSystemInterface::flushWindowSystemEvents() is a synchronous call.
This will cause a deadlock if the GUI thread is waiting for an OpenGL
surface at the same time. Add deadlock protection to this case as well.
Task-number: QTBUG-44721
Change-Id: Id26370f6e07011dbcd861617bf96f59e85837db6
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'qmake/generators/unix/unixmake2.cpp')
0 files changed, 0 insertions, 0 deletions
