]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix shutdown crash caused by modules being left open. 14/4214/1
authorCorey Farrell <git@cfware.com>
Fri, 28 Oct 2016 02:49:43 +0000 (22:49 -0400)
committerCorey Farrell <git@cfware.com>
Fri, 28 Oct 2016 05:11:21 +0000 (01:11 -0400)
commitf373de302032c13487cfcaa616fc070f10d68b57
tree4451b091ff631011a14d12edfeb10857056dd387
parente8a3af2629ff8668b4ebd78a50bfebdbfaa66a6e
Fix shutdown crash caused by modules being left open.

It is only safe to run ast_register_cleanup callbacks when all modules
have been unloaded.  Previously these callbacks were run during graceful
shutdown, making it possible to crash during shutdown.

ASTERISK-26513 #close

Change-Id: Ibfa635bb688d1227ec54aa211d90d6bd45052e21
include/asterisk/_private.h
include/asterisk/module.h
main/asterisk.c
main/loader.c