]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Message.c: Clear message channel frames on cleanup 70/470/1
authorJonathan Rose <jrose@digium.com>
Wed, 13 May 2015 20:41:07 +0000 (15:41 -0500)
committerJonathan Rose <jrose@digium.com>
Thu, 14 May 2015 16:24:17 +0000 (11:24 -0500)
commitcf1190cc6b2547ae39a358c9c0abb88656ade8b3
tree32939529888901a41f2a67358843f031cdf7558d
parent81b078990640be3736bfbad06609b9e504583520
Message.c: Clear message channel frames on cleanup

The message channel is a special channel that doesn't actually process frames.
However, certain actions can cause frames to be placed in the channel's read
queue including the Hangup application which is called on the channel after
each message is processed. Since the channel will continually be reused for
many messages, it's necessary to flush these frames at some point.

ASTERISK-25083 #close
Reported by: Jonathan Rose

Change-Id: Idf18df73ccd8c220be38743335b5c79c2a4c0d0f
main/message.c