Merge pull request #30117 from santouits/mt-pools
Free server id pools directly on closing
This commit is contained in:
commit
538c8eec15
|
@ -50,7 +50,7 @@
|
|||
} \
|
||||
void m_type##_free_cached_ids() { \
|
||||
while (m_type##_id_pool.size()) { \
|
||||
free(m_type##_id_pool.front()->get()); \
|
||||
server_name->free(m_type##_id_pool.front()->get()); \
|
||||
m_type##_id_pool.pop_front(); \
|
||||
} \
|
||||
} \
|
||||
|
|
Loading…
Reference in New Issue