Explorar el Código

Remove accidental debug code 8|

Signed-off-by: kberg-amzn <[email protected]>
kberg-amzn hace 3 años
padre
commit
25ddf4debc

+ 1 - 8
Code/Framework/AzNetworking/AzNetworking/UdpTransport/UdpNetworkInterface.cpp

@@ -705,14 +705,7 @@ namespace AzNetworking
         {
         {
             return;
             return;
         }
         }
-        for (RemovedConnection& removedConnection : m_removedConnections)
-        {
-            if (connection == removedConnection.m_connection)
-            {
-                int breakhere = 0;
-                ++breakhere;
-            }
-        }
+
         connection->m_state = ConnectionState::Disconnecting;
         connection->m_state = ConnectionState::Disconnecting;
         m_removedConnections.emplace_back(RemovedConnection{ connection, reason, endpoint });
         m_removedConnections.emplace_back(RemovedConnection{ connection, reason, endpoint });
     }
     }