summaryrefslogtreecommitdiffstats
path: root/async/src/async.h
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2015-02-07 17:48:49 +0100
committerDan Vrátil <dvratil@redhat.com>2015-02-07 17:48:49 +0100
commit7a3ecf3d79ffd8d4c207b42625552da3d57589f5 (patch)
tree98ddff0920dc79efb66b60ded82f9b0bf0ac30bf /async/src/async.h
parentda0bcaf6469311f03ba35d48a4a405c95594a686 (diff)
downloadsink-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.h')
0 files changed, 0 insertions, 0 deletions