Details
-
Task
-
Resolution: Fixed
-
P4: Low
-
None
-
None
-
None
-
f5b584022b9315f9de7a7df02c642ee3b396627c
Description
The QDnsLookupThreadPool is-a Q_OBJECT subclass of QThreadPool just so it can listen to the QCoreApplication::destroyed() signal and shut itself down. All this scaffolding has recently been abstracted into a macro Q_APPLICATION_STATIC. As a result, we could save one QObject subclass (together with RTTI etc often saving 1KiB of TEXT), because the Q_A_S payload object need not ba-a QObject, it can aggregate intead (has-a QObject).
Attachments
Issue Links
- covers
-
QTBUG-113840 UB in QDnsLookupThreadPool::start(QRunnable*)
- Open
-
QTBUG-113838 Data Race on QDnsLookupThreadPool::signalsConnected
- Closed