[asterisk-commits] rmudgett: trunk r377402 - in /trunk: ./ main/astmm.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 7 17:45:16 CST 2012
Author: rmudgett
Date: Fri Dec 7 17:45:15 2012
New Revision: 377402
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=377402
Log:
MALLOC_DEBUG: Only wait if we want atexit allocation dumps.
........
Merged revisions 377398 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 377399 from http://svn.asterisk.org/svn/asterisk/branches/10
........
Merged revisions 377401 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
trunk/ (props changed)
trunk/main/astmm.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: trunk/main/astmm.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/astmm.c?view=diff&rev=377402&r1=377401&r2=377402
==============================================================================
--- trunk/main/astmm.c (original)
+++ trunk/main/astmm.c Fri Dec 7 17:45:15 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