diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-11 09:49:11 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-17 19:18:54 +0200 |
commit | 2684deaf26e7c7af1ac504f562231a4cc4fbd733 (patch) | |
tree | 24cacd89efbafd81911070763d8d2249380dfa4c /examples/dbus/complexpingpong | |
parent | ebcc8413f21556e0128c713dedfd97442ae93479 (diff) |
Attempt to unwedge tst_QThread::wait3_slowDestructor()
When the test failed, it never released the blocking slot, so the
tested thread remained blocked indefinitely. Blacklisting doesn't
rescue that: the test run gets killed by Coin's watchdog.
Use a QScopeGuard() to release the clocked slot on failure.
replacing the release that was happening only on success.
As drive-by clean-up, smarten up the code a little and remove an
unused enum.
Pick-to: 6.2 6.1 5.15
Change-Id: Ie035dafe6e4b1d82aea5de38ceb31c0f7fcf81d7
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'examples/dbus/complexpingpong')
0 files changed, 0 insertions, 0 deletions