summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-10-20 17:49:33 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-10-22 17:48:01 +0200
commit4e1b2f59dd9582a271db38d3c5498152229b8816 (patch)
tree94713e4f70949550573b873ee83ec1e12e29bace /cmake
parent564abe0be1ac33175f29c63e8d65f72499fbfa99 (diff)
Consistently restore threadpool limit at end of tests
Fix warning about unused variable, and use qScopeGuard to make sure that the limit of the global threadpool is restored even if one of the tests fail. Change-Id: I36747cb451074cceea961561478210728ed6d313 Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 7d133a5613b7d9bae544fa56d26577c0c9d50ff4) Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions