mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 937157, part 7 - Remove XPC_TRACK_PROTO_STATS. r=bholley
This commit is contained in:
parent
e0e40691bf
commit
56fc3fe5c5
@ -153,15 +153,6 @@ XPCWrappedNativeProto::SystemIsBeingShutDown()
|
||||
// Note that the instance might receive this call multiple times
|
||||
// as we walk to here from various places.
|
||||
|
||||
#ifdef XPC_TRACK_PROTO_STATS
|
||||
static bool DEBUG_DumpedStats = false;
|
||||
if (!DEBUG_DumpedStats) {
|
||||
printf("%d XPCWrappedNativeProto(s) alive at shutdown\n",
|
||||
gDEBUG_LiveProtoCount);
|
||||
DEBUG_DumpedStats = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (mJSProtoObject) {
|
||||
// short circuit future finalization
|
||||
JS_SetPrivate(mJSProtoObject, nullptr);
|
||||
|
@ -182,7 +182,6 @@
|
||||
#define XPC_DUMP_AT_SHUTDOWN
|
||||
#define XPC_TRACK_WRAPPER_STATS
|
||||
#define XPC_TRACK_SCOPE_STATS
|
||||
#define XPC_TRACK_PROTO_STATS
|
||||
#endif
|
||||
|
||||
/***************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user