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

call: reset parent, subcall connections on hangup

prevents memory leak

Change-Id: I0b961983e3b115d225daa435b6cd6e1536a36099
parent 72cd06e5
No related branches found
No related tags found
No related merge requests found
......@@ -154,6 +154,8 @@ Call::removeCall()
Recordable::stopRecording();
if (auto account = account_.lock())
account->detach(this_);
parent_.reset();
subcalls_.clear();
}
std::string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment