Minor formatting change to test a mantis change ...
(issue #12674) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
fced823c08
commit
7d2d373d6f
|
@ -488,8 +488,9 @@ void ast_begin_shutdown(int hangup)
|
|||
shutting_down = 1;
|
||||
if (hangup) {
|
||||
AST_RWLIST_RDLOCK(&channels);
|
||||
AST_RWLIST_TRAVERSE(&channels, c, chan_list)
|
||||
AST_RWLIST_TRAVERSE(&channels, c, chan_list) {
|
||||
ast_softhangup(c, AST_SOFTHANGUP_SHUTDOWN);
|
||||
}
|
||||
AST_RWLIST_UNLOCK(&channels);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue