Commit f2f7387d authored by Julien Wadel's avatar Julien Wadel
Browse files

Fix crash when destroying the core :

- Remove callsCache destruction from `linphone_core_destructor`as it is done when stopping the core in _linphone_core_uninit
parent 0b0bb804
......@@ -59,8 +59,6 @@ static void _linphone_core_constructor (LinphoneCore *lc) {
}
static void _linphone_core_destructor (LinphoneCore *lc) {
if (lc->callsCache)
bctbx_list_free_with_data(lc->callsCache, (bctbx_list_free_func)linphone_call_unref);
lc->cache.~Cache();
_linphone_core_uninit(lc);
}
......
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