BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/qtmonitor/mainwindow.cpp mainwindow.h mqttclient.cpp
De:       Deuc¨
Data:     Thu, 7 May 2026 11:20:35 -0700
-----------------------------------------------------------
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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]