ENH: request start when it stopped by app

Change-Id: I48b8692f87b834e0f96c7c19c4e8651ae7a8fc1e
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2022-12-07 18:20:50 +08:00 committed by Lane.Wei
parent 5454a65c8d
commit dcbe442184
4 changed files with 52 additions and 1 deletions

View file

@ -395,6 +395,7 @@ void MonitorPanel::update_all()
//BBS check mqtt connections if user is login
if (wxGetApp().is_user_login()) {
dev->check_pushing();
// check mqtt connection and reconnect if disconnected
try {
m_agent->refresh_connection();