]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session: Prevent crash during shutdown.
authorCorey Farrell <git@cfware.com>
Wed, 31 Jan 2018 05:05:15 +0000 (00:05 -0500)
committerCorey Farrell <git@cfware.com>
Wed, 31 Jan 2018 05:07:44 +0000 (00:07 -0500)
commit4c8c0e4c22b7d5475e9f6b0e85e7553242852b58
treee8de84abfaabea9ea17a1b85e88f853c21a9b2a8
parent897f7fb30e283ce1d5a9c229dbc3af668e2f686c
res_pjsip_session: Prevent crash during shutdown.

pjproject does not have a function to reverse pjsip_inv_usage_init.
This means we need to ignore any calls to the functions once shutdown is
final.

ASTERISK-27571 #close

Change-Id: Ia550fcba563e2328f03162d79fb185f16b7c9b9d
res/res_pjsip_session.c