[asterisk-dev] Module unload
Tim Ringenbach
tim.ringenbach at gmail.com
Thu May 24 18:54:07 MST 2007
On 5/24/07, Chris Ostler <chris.ostler at gmail.com> wrote:
>
> For my situation, this seems rather disingenuous. Is this intentional,
> or just an oversight? If intentional, is there some other means of
> triggering code to run when Asterisk will no longer handle a certain
> channel technology?
This may not be an acceptable solution, but gcc will let you declare a
function to be a destructor and call it when your module is unloaded.
--Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070524/91a59feb/attachment.htm
More information about the asterisk-dev
mailing list