-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QThreadPool: handle negative expiryTimeouts
When setting/getting the expiryTimeout. Negative values mean "never expire", so use duration::max(), which QDeadlineTimer interprets as QDeadline::Forever. Amends (and partially reverts) c570271 Task-number: QTBUG-129898 Pick-to: 6.8 Change-Id: I8f141cd3fc3c2ff4d21ba2d9663619bc507aeca4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
- Loading branch information
1 parent
d630804
commit 4678d96
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters