[fix] need to DestroyPeer if NoSuchTransmissionId

This commit is contained in:
dijunkun
2025-04-15 10:28:19 +08:00
parent b906bfcafd
commit 69a8503ee1

View File

@@ -159,6 +159,8 @@ int Render::ConnectionStatusWindow(
ImGui::IsKeyPressed(ImGuiKey_Enter)) { ImGui::IsKeyPressed(ImGuiKey_Enter)) {
show_connection_status_window_ = false; show_connection_status_window_ = false;
re_enter_remote_id_ = true; re_enter_remote_id_ = true;
DestroyPeer(&props->peer_);
client_properties_.erase(props->remote_id_);
} }
} }