TT#14008 call statistics_free after codecs_cleanup

Some codec handlers hold references to objects held within the
statistics hash table, therefore we must free the statistics after all
codec handlers have been released.

Change-Id: I3832dbeeaaf21d4a82be2dc2c842718415fd46f7
rfuchs/1283
Richard Fuchs 5 years ago
parent b110072ae4
commit 50834df3ca

@ -1208,12 +1208,12 @@ int main(int argc, char **argv) {
jitter_buffer_init_free();
media_player_free();
codeclib_free();
statistics_free();
call_interfaces_free();
ice_free();
dtls_cert_free();
control_ng_cleanup();
codecs_cleanup();
statistics_free();
redis_close(rtpe_redis);
if (rtpe_redis_write != rtpe_redis)

Loading…
Cancel
Save