-
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.
QThreadData: inline ref() and deref()
You *should* be using LTO if you want performance, but these functions are trivial enough that it makes sense to inline them. The !QT_CONFIG(thread) support seems wrong and is probably leaking memory for the QAdoptedThread for the main thread. But since that only happens because the program is exiting anyway, it's a case of "leak" in quotes and one I don't care about. Pick-to: 6.8 Change-Id: I2bb6e519239ea33cc521fffd71f57574f940ed62 Reviewed-by: Fabian Kosmale <[email protected]>
- Loading branch information
1 parent
296b46f
commit 278d225
Showing
2 changed files
with
15 additions
and
19 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
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