[OpenSIPS/opensips] 160b42: Avoid locking during shutdown

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

[OpenSIPS/opensips] 160b42: Avoid locking during shutdown

Bogdan-Andrei Iancu-2
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 160b4241091062eb23f94c41391b97dba75d156e
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c

  Log Message:
  Avoid locking during shutdown

Do not do locking when running the destroy handler, as we may get into a deadlock (if a worker process got killed while holding the lock).

Devel mailing list
[hidden email]