Browse Source

MT#55283 change shutdown order

Some components (the timer thread used by the codec handlers in
particular) may hold references to components owned by the codeclib (the
.so handles in particular). Move codeclib cleanup towards the end.

Change-Id: Ic581588c27b69c025576c14a69e999c9ca5d1597
(cherry picked from commit 43cc9cc06d)
(cherry picked from commit c747a9ad26)
mr13.1.1
Richard Fuchs 10 months ago
parent
commit
8f59c8fb19
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/main.c

+ 1
- 1
daemon/main.c View File

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


Loading…
Cancel
Save