FIX: fix destroy BBLNetworkAgent when changing language

Change-Id: I95942abffbab3445775fa1598738249256e0e31d
This commit is contained in:
Stone Li 2022-07-26 12:15:30 +08:00 committed by Lane.Wei
parent 5a2669dcc2
commit 3d3cda5e45

View file

@ -1107,6 +1107,9 @@ GUI_App::GUI_App()
void GUI_App::shutdown()
{
BOOST_LOG_TRIVIAL(info) << "shutdown";
if (m_is_recreating_gui) return;
m_is_closing = true;
stop_sync_user_preset();