Document blocking I/O and threading considerations
- Document that disconnectFromHost() may block while waiting for pending
data to be written, with a timeout of up to 30 seconds.
- Recommend keeping QMqttClient and its transport outside the UI thread
because blocking I/O may occur and affect UI responsiveness.
Pick-to: 6.12
Task-number: QTBUG-150345
Change-Id: I27d300210750710c4a5138f8c3f97c7c929466af
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
| commit | d24a6483d0fcebc65d4f44d0f7bf908214f7b49b |
| parent | e147dedea312493cad44ccd330753bb8a0132db2 |
| author | Tatiana Borisova <tatiana.borisova@qt.io> |
| committer | Tatiana Borisova <tatiana.borisova@qt.io> |
| commit time | Thu, 8 Oct 2026 09:42:57 +0000 |