Browse Source

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
commit
50834df3ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/main.c

+ 1
- 1
daemon/main.c View File

@ -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