Commit 138df30a authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

ice: force ice session destruction

Rationale:
ice session must be destroyed before any other ressources.

Refs #65401

Change-Id: Ib31fd1d09d5beb85692c975ed72e7f58d08c6792
parent 91704946
......@@ -129,7 +129,10 @@ IceTransport::IceTransport(const char* name, int component_count,
throw std::runtime_error("pj_ice_strans_create() failed");
}
IceTransport::~IceTransport() = default;
IceTransport::~IceTransport()
{
icest_.reset(); // must be done first to invalid callbacks
}
void
IceTransport::onComplete(pj_ice_strans* ice_st, pj_ice_strans_op op,
......
Markdown is supported
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