Module: kamailio
Branch: master
Commit: 944b1062bc7660d86048ab6a769183e40181f07a
URL: 
https://github.com/kamailio/kamailio/commit/944b1062bc7660d86048ab6a769183e40181f07a

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-11-20T12:08:54+01:00

htable: remove destroy of internal structures on mod-destroy callback

- it is safer and faster to be removed at once by core or OS when application
  context is destroyed

---

Modified: src/modules/htable/htable.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/944b1062bc7660d86048ab6a769183e40181f07a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/944b1062bc7660d86048ab6a769183e40181f07a.patch

---

diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index 090474b189b..48f9e1c7724 100644
--- a/src/modules/htable/htable.c
+++ b/src/modules/htable/htable.c
@@ -341,7 +341,6 @@ static void destroy(void)
                        }
                }
        }
-       ht_destroy();
 }
 
 /**

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to