Mercurial > hg > freeDiameter-proposed
changeset 1185:23695957bfc0
Don't block on peers shutdown when early errors
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 06 Jun 2013 19:06:00 +0800 |
parents | 8c340f832127 |
children | 56c36d1007b4 |
files | libfdcore/peers.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libfdcore/peers.c Thu Jun 06 19:05:36 2013 +0800 +++ b/libfdcore/peers.c Thu Jun 06 19:06:00 2013 +0800 @@ -353,6 +353,7 @@ if (!list_empty) { CHECK_SYS( clock_gettime(CLOCK_REALTIME, &now) ); + fd_psm_start(); /* just in case */ TRACE_DEBUG(INFO, "Waiting for connections shutdown... (%d sec max)", DPR_TIMEOUT + 1); wait_until.tv_sec = now.tv_sec + DPR_TIMEOUT + 1; wait_until.tv_nsec = now.tv_nsec;