Commit 0faf3bdf authored by Guillaume Beraudo's avatar Guillaume Beraudo
Browse files

Destroy tunnel on linphone core uninit.

parent bdf17889
......@@ -4148,6 +4148,7 @@ static void linphone_core_uninit(LinphoneCore *lc)
linphone_core_free_payload_types(lc);
ortp_exit();
linphone_core_set_state(lc,LinphoneGlobalOff,"Off");
if (lc->tunnel) linphone_tunnel_destroy(lc->tunnel);
}
static void set_network_reachable(LinphoneCore* lc,bool_t isReachable, time_t curtime){
......
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