• src/sbbs3/qtmonitor/mainwindow.cpp mainwindow.h mqttclient.cpp

    From Deucе@VERT to Git commit to main/sbbs/master on Thursday, May 07, 2026 11:20:35
    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