<p></p>
<blockquote>
<p dir="auto">The mode is about leaving the slot locked when != 0, the unlock has to be done by the code using this function.</p>
<p dir="auto">Again, if you want to discuss about internal C code, use <a href="mailto:sr-dev@lists.kamailio.org">sr-dev@lists.kamailio.org</a> mailing list. Do not open issues on this tracker about every piece of code you think its wrong.</p>
<p dir="auto">If you get a deadlock or a crash because of some piece of code, then make a proper report, saying when/where it happened, with appropriate debug details as instructed in the issue template.</p>
</blockquote>
<p dir="auto">Sorry... I'm looking forwarding to join the mailing list and waiting for the subscribed result.</p>
<p dir="auto">By the way, I have reviewed the code again, and confused me again. See <code>dlg_new_dialog</code> in <code>dlg_handlers.c</code>. After <code>dlg_search</code>, the dlg has locked and referenced, but there is no <code>dlg_hash_release</code>/<code>dlg_release</code> in some places ?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3084#issuecomment-1098046367">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOYQDPKDVSPRTIPKHTVE3DH7ANCNFSM5TKGMM6A">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZKERZ4ZMEIXGPAQDK3VE3DH7A5CNFSM5TKGMM6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIFZNXHY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3084/1098046367</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3084#issuecomment-1098046367",
"url": "https://github.com/kamailio/kamailio/issues/3084#issuecomment-1098046367",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>