fix: release controllers before connect

This commit is contained in:
shxyke
2023-04-02 11:27:20 +00:00
parent c6d38c97f8
commit 27ad62d06a

View File

@@ -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)