A crash happened on mod_destroy() due to librdkafka thrd_join(), in case of multiple restarts, in case of ssl kafka connection.

Init kafka only for timer and routing processes.
Add checks for rk pointer.

Pre-Submission Checklist

Type Of Change

Checklist:

Description


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/4147

Commit Summary

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4147@github.com>