Skip to content
Snippets Groups Projects
Commit ca611bcc authored by Adrien Béraud's avatar Adrien Béraud
Browse files

ringdht: avoid deadlock

Change-Id: I954fad2008fa79c17accc257616c136a1ded8049
Tuleap: #461
parent e2da4f31
Branches
Tags
No related merge requests found
...@@ -596,7 +596,7 @@ RingAccount::handlePendingCallList() ...@@ -596,7 +596,7 @@ RingAccount::handlePendingCallList()
if (handled) { if (handled) {
// Cancel pending listen (outgoing call) // Cancel pending listen (outgoing call)
if (not incoming) if (not incoming)
dht_.cancelListen(pc_iter->call_key, pc_iter->listen_key.get()); dht_.cancelListen(pc_iter->call_key, pc_iter->listen_key.share());
pc_iter = pending_calls.erase(pc_iter); pc_iter = pending_calls.erase(pc_iter);
} else } else
++pc_iter; ++pc_iter;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment