<p>Benjamin Keith Ford <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11304">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">stasis: Fix crash at shutdown.<br><br>When compiling in dev mode, stasis statistics are enabled and can cause<br>a crash at shutdown due to the following:<br>- Containers are freed<br>- Topics and subscriptions remain<br>- When those topics and subscriptions are deallocated, they go to do<br>  things with the container<br><br>This changes the containers to global ao2 objects, and whenever needed<br>in the code, a reference must be obtained and checked before any<br>operations can be done.<br><br>ASTERISK-28353 #close<br><br>Change-Id: Ie7d5e907fcfcb4d65bd36d5e4eb923126fde8d33<br>---<br>M main/stasis.c<br>1 file changed, 90 insertions(+), 22 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/04/11304/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11304">change 11304</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/c/asterisk/+/11304"/><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-Change-Id: Ie7d5e907fcfcb4d65bd36d5e4eb923126fde8d33 </div>
<div style="display:none"> Gerrit-Change-Number: 11304 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>