mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] need to DestroyPeer if NoSuchTransmissionId
This commit is contained in:
@@ -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_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user