[asterisk-commits] rmudgett: branch 1.8 r377398 - /branches/1.8/main/astmm.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 7 17:40:22 CST 2012
Author: rmudgett
Date: Fri Dec 7 17:40:19 2012
New Revision: 377398
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=377398
Log:
MALLOC_DEBUG: Only wait if we want atexit allocation dumps.
Modified:
branches/1.8/main/astmm.c
Modified: branches/1.8/main/astmm.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/astmm.c?view=diff&rev=377398&r1=377397&r2=377398
==============================================================================
--- branches/1.8/main/astmm.c (original)
+++ branches/1.8/main/astmm.c Fri Dec 7 17:40:19 2012
@@ -1333,8 +1333,11 @@
{
FILE *log;
- fprintf(stderr, "Waiting 10 seconds to let other threads die.\n");
- sleep(10);
+ /* Only wait if we want atexit allocation dumps. */
+ if (atexit_list || atexit_summary) {
+ fprintf(stderr, "Waiting 10 seconds to let other threads die.\n");
+ sleep(10);
+ }
regions_check_all_fences();
More information about the asterisk-commits
mailing list