summaryrefslogtreecommitdiff
path: root/res/res_pjsip_dialog_info_body_generator.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-04-07 13:05:26 -0300
committerJoshua Colp <jcolp@digium.com>2016-04-07 13:42:01 -0300
commit901e8d78c4ddad0e60ce792f53ebe5a43026f163 (patch)
tree319da19442a58f56f71f7694771e2e68303299c9 /res/res_pjsip_dialog_info_body_generator.c
parent8207372e663bdaa44acbe8fd6a262eead5532ad8 (diff)
res_pjsip_registrar_expire: Fix race condition at shutdown.
When shutting down, the PJSIP sorcery is destroyed. The registrar expiration module queries the PJSIP sorcery to determine what to expire. As there was no synchronization between termination of the expiration thread and the unloading of the module it was possible for the thread to try to access the PJSIP sorcery after it had been destroyed. This change ensures that the thread is shut down before allowing the module to be considered unloaded. Change-Id: I69fd239edbaaf160c2d37ae00d3ac06e5596fe8b
Diffstat (limited to 'res/res_pjsip_dialog_info_body_generator.c')
0 files changed, 0 insertions, 0 deletions