mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
restoring warning per bsmedberg
This commit is contained in:
parent
7c9c5a97a6
commit
cca1a776fa
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user