1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00
Go to file
Maurice Kalinowski c04b21a2dc Windows: Fix crash on QMqttClient destruction
On Windows, sending DISCONNECT might return data before the
QMqttConnection is destroyed, causing it to invoke on bogus QMqttClient
members.

Hence, set a flag to avoid this event, but still aim to send a
disconnect to the broker to nicely quit.

Fixes: QTBUG-111846
Pick-to: 6.5 6.4 6.2
Change-Id: Ia94865c9b404ecbd814150c313679aa10b3f6aa0
Reviewed-by: Mate Barany <mate.barany@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
2023-03-30 11:54:01 +01:00
coin Add axivion config 2023-03-23 14:16:25 +00:00
dist Add changes file for Qt 5.12.10 2020-11-12 10:13:02 +00:00
examples Update websocket example to use the new sub-protocol feature 2022-11-22 12:35:31 +01:00
LICENSES Use SPDX license identifiers 2022-06-16 10:22:20 +02:00
src Windows: Fix crash on QMqttClient destruction 2023-03-30 11:54:01 +01:00
tests Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 11:52:33 +01:00
.cmake.conf Remove QT_USE_SYNCQT_CPP 2023-01-02 13:24:35 +01:00
.gitattributes Initial commit 2017-01-19 10:27:05 +01:00
.gitignore Initial commit 2017-01-19 10:27:05 +01:00
.tag Initial commit 2017-01-19 10:27:05 +01:00
CMakeLists.txt Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 11:52:33 +01:00
conanfile.py Use SPDX license identifiers 2022-06-16 10:22:20 +02:00
dependencies.yaml Update dependencies on 'dev' in qt/qtmqtt 2023-03-28 17:04:07 +00:00
sync.profile Fix sync.profile 2017-12-15 07:17:03 +00:00