https://gitlab.synchro.net/main/sbbs/-/commit/a0210ff2135308f5040853da
Modified Files:
src/sbbs3/qtmonitor/mainwindow.cpp mainwindow.h mqttclient.cpp
Log Message:
qtmonitor: fix crash on reconnect, fix Connect button label
QMqttClient was deleted after the QSslSocket it referenced, causing
a use-after-free in ~QMqttClient when it tried to disconnect signals.
Delete the client before the socket in disconnectFromBroker().
Also toggle the toolbar button between "Connect" and "Disconnect".
Co-Authored-By: Claude Opus 4.6 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net