Details
Description
https://doc.qt.io/qt-6/qtmqtt-subscriptions-example.html
Connect to a broker (like test.mosquitto.org)
Press quit
The application does not crash if it is disconnected first.
The same behavior can be observed with the simple client example as well (https://doc.qt.io/qt-6/qtmqtt-simpleclient-example.html), the root cause is probably similar.