-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4037/
-----------------------------------------------------------
(Updated Oct. 4, 2014, 7:41 p.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers and opticron.
Changes
-------
Committed in revision 424578
Bugs: ASTERISK-24378
https://issues.asterisk.org/jira/browse/ASTERISK-24378
Repository: Asterisk
Description
-------
Release AMI connections on shutdown.
I've looked further into this, I believe it has no effect on events generated
after manager_shutdown. manager_shutdown free's mgr_sessions, preventing
__ast_manager_event_multichan from reaching any active sessions. Note this
wouldn't be the case with Asterisk 1.8 as the sessions container is never
freed, yet another reason I'm proposing this fix for 11+.
Diffs
-----
/branches/11/main/manager.c 424175
Diff: https://reviewboard.asterisk.org/r/4037/diff/
Testing
-------
Tested with tests/channels/SIP/route. Verified the AMI session is leaked
without this patch, released with this patch.
Thanks,
Corey Farrell
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev