diff options
author | Dan Vrátil <dvratil@redhat.com> | 2015-02-07 17:48:49 +0100 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2015-02-07 17:48:49 +0100 |
commit | 7a3ecf3d79ffd8d4c207b42625552da3d57589f5 (patch) | |
tree | 98ddff0920dc79efb66b60ded82f9b0bf0ac30bf /async/src/async.cpp | |
parent | da0bcaf6469311f03ba35d48a4a405c95594a686 (diff) | |
download | sink-7a3ecf3d79ffd8d4c207b42625552da3d57589f5.tar.gz sink-7a3ecf3d79ffd8d4c207b42625552da3d57589f5.zip |
AsyncTest: block until innerJob finishes to prevent crash
innerJob.exec() starts an async job, so once exec() returns, the innerJob
will go out of scope and will be deleted, which however does not prevent
the QTimer from invoking it's lambda slot, which will crash when dereferencing
a deleted Future.
Diffstat (limited to 'async/src/async.cpp')
0 files changed, 0 insertions, 0 deletions