On 5/24/07, <b class="gmail_sendername">Chris Ostler</b> <<a href="mailto:chris.ostler@gmail.com">chris.ostler@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For my situation, this seems rather disingenuous. Is this intentional,<br>or just an oversight? If intentional, is there some other means of<br>triggering code to run when Asterisk will no longer handle a certain<br>channel technology?
</blockquote><div><br>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.<br><br>--Tim <br></div><br></div>