Commit 51c64f8f authored by Joris's avatar Joris
Browse files

Fix deadlock in µTP code

parent 4dd6230b
......@@ -225,14 +225,6 @@ namespace utp
int ret = sock->sendTo((const bt::Uint8*),data.size(),addr);
if (ret == net::SEND_WOULD_BLOCK)
else if (ret == net::SEND_FAILURE)
QMutexLocker lock(&mutex);
// Kill the connection of this packet
Connection* conn = find(packet.get<2>());
if (conn)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment