mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 12:20:12 +00:00
allow manager actions to properly close the session again (issue #5350)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1283,8 +1283,6 @@ static int process_message(struct mansession *s, struct message *m)
|
|||||||
}
|
}
|
||||||
if (!tmp)
|
if (!tmp)
|
||||||
astman_send_error(s, m, "Invalid/unknown command");
|
astman_send_error(s, m, "Invalid/unknown command");
|
||||||
else
|
|
||||||
ret = 0;
|
|
||||||
ast_mutex_lock(&s->__lock);
|
ast_mutex_lock(&s->__lock);
|
||||||
s->busy = 0;
|
s->busy = 0;
|
||||||
while(s->eventq) {
|
while(s->eventq) {
|
||||||
|
Reference in New Issue
Block a user