<p>Thank you for the pull request. You are right that its not nice if this error happens during a shut-down. So far we did not got many reports for this issue.</p>
<p>If I understand the patch correctly it would be disable the possibility to do the memory logging during shutdown without a recompilation. This memory debugging is a great help during complicated issues reported from our users.</p>
<p>For this reasons we enable some other settings as well in our source code by default, e.g. compile in debugging mode and without advanced optimization. So I don't want to merge it right now without proper consideration the pros and cons.</p>
<p>Lets wait for the opinion from other developers on this one.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2127?email_source=notifications&email_token=ABO7UZKS3D5LNQLFEQ2CIRLQT36CZA5CNFSM4JNBKNV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEGR6BQ#issuecomment-554508038">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMYH7JSCJYEGMIPXQ3QT36CZANCNFSM4JNBKNVQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJVBUK2ABYMEW2MOL3QT36CZA5CNFSM4JNBKNV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEGR6BQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2127?email_source=notifications\u0026email_token=ABO7UZKS3D5LNQLFEQ2CIRLQT36CZA5CNFSM4JNBKNV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEGR6BQ#issuecomment-554508038",
"url": "https://github.com/kamailio/kamailio/pull/2127?email_source=notifications\u0026email_token=ABO7UZKS3D5LNQLFEQ2CIRLQT36CZA5CNFSM4JNBKNV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEGR6BQ#issuecomment-554508038",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>