mirror of https://github.com/asterisk/asterisk
`pbx_config` subscribes to manager events to capture the `FullyBooted`
event but fails to unsubscribe if the module is loaded after that
event fires. If the module is unloaded, a crash occurs the next time a
manager event is raised.
We now unsubscribe when the module is unloaded if we haven't already
unsubscribed.
Fixes #470
(cherry picked from commit 16a42b2aec
)
releases/21
parent
b10a8aa212
commit
0f5d624740
Loading…
Reference in new issue