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
No related branches found
No related tags found
No related merge requests found
......@@ -596,7 +596,7 @@ RingAccount::handlePendingCallList()
if (handled) {
// Cancel pending listen (outgoing call)
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);
} else
++pc_iter;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment