<p>Richard Mudgett <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10379">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_smdi.c: Fix module ref counting and inverted test.<br><br>I think this module is so screwed up that it doesn't work anymore.  Even<br>with these attempts to fix things it still won't gracefully shut down.<br>The module refs will not go to zero to allow unloading the module.<br><br>* Fix module ref counting dealing with the SMDI interface object.  There<br>were several off-nominal paths that unbalanced the module ref count.  Also<br>the destructor freed the ao2 object itself which is bad.  Made the<br>smdi_read thread not hold its own ref to the SMDI interface object so when<br>all refs go away the destructor will stop the listener thread.<br><br>* Fixed the smdi_load() return code of 1 concerning the number of<br>listeners.  The test was inverted.<br><br>Change-Id: Ic288db51b58e395d6a2fc3847f77176c16988784<br>---<br>M res/res_smdi.c<br>1 file changed, 18 insertions(+), 12 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/79/10379/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10379">change 10379</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10379"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ic288db51b58e395d6a2fc3847f77176c16988784 </div>
<div style="display:none"> Gerrit-Change-Number: 10379 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>