mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
fix: release controllers before connect
This commit is contained in:
@@ -55,6 +55,8 @@ void asst::Controller::clear_info() noexcept
|
||||
{
|
||||
m_uuid.clear();
|
||||
m_scale_size = { WindowWidthDefault, WindowHeightDefault };
|
||||
m_controller = nullptr;
|
||||
m_scale_proxy = nullptr;
|
||||
}
|
||||
|
||||
void asst::Controller::callback(AsstMsg msg, const json::value& details)
|
||||
|
||||
Reference in New Issue
Block a user