diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-06-01 11:37:19 +0200 |
---|---|---|
committer | Richard Weickelt <richard@weickelt.de> | 2020-06-16 09:32:16 +0000 |
commit | 0e565ceb0f6142b04411944fbadbaf2b2acd2bb2 (patch) | |
tree | d2dce8058b14e871ab0721be3ac747d85766f399 /tests/benchmarker | |
parent | dd37b75d9a8a1b9b32de8bfbaacbf8e2e2458e2e (diff) |
Fix possible race in ~InternalJobThreadWrapper()
It might happen that finished() is emitted before the call to connect()
to the QEventLoop::quit slot resulting in endless loop.
Fix that by calling QCoreApplication::processEvents() directly.
Change-Id: Ic0899c4d5b04d095b26912b9693ae245df6da4f2
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/benchmarker')
0 files changed, 0 insertions, 0 deletions