<div dir="ltr"><div>when suricata exit, UnixSocketKillSocketThread() called ,but the codes in this function will NOT execute,<br><br><br>void UnixSocketKillSocketThread(void)<br>{<br>    ThreadVars *tv = NULL;<br><br>    SCMutexLock(&tv_root_lock);<br>
<br>    /* flow manager thread(s) is/are a part of mgmt threads */<br></div><span style="color:rgb(255,0,0)">/*iswalker,here index should be TVT_CMD,because codes in TV type in TmThreadCreateCmdThread register is TVT_CMD*/   </span><br>
<div><div> tv = tv_root[TVT_MGMT];<br><br></div><div>thanks.<br><br></div><div>iswalker<br></div></div></div>