restoring warning per bsmedberg

git-svn-id: svn://10.0.0.236/trunk@193292 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%meer.net
2006-03-31 00:59:02 +00:00
parent 95680f26f8
commit d52d34fca1

View File

@@ -145,7 +145,7 @@ struct nsTraceRefcntStats {
// I hope to turn this on for everybody once we hit it a little less.
#define ASSERT_ACTIVITY_IS_LEGAL \
NS_ASSERTION(gActivityTLS != BAD_TLS_INDEX && \
NS_WARN_IF_FALSE(gActivityTLS != BAD_TLS_INDEX && \
NS_PTR_TO_INT32(PR_GetThreadPrivate(gActivityTLS)) == 0, \
"XPCOM objects created/destroyed from static ctor/dtor");