bugfix: properly ending any thread and not generating seg fault when stopping amf process
itti timer thread
is finished before deallocating
Issue 1: making sure Same as in SMF. Once again it can be very slow to kill.
amf-app
is not deallocating objects
Issue 2: I realized this when I worked on the sctp destructor; it was never called.
sctp_receiver_thread
is finished
Issue 3: making sure Here it was easier since pthread is used and we can do pthread_kill
.
@arora @schmidtr @phine_stefan That should solve all AMF seg faults.