Bug 1215151 - Add XPCOM leak checking for base::Thread. r=jld

This commit is contained in:
Andrew McCreight 2015-10-16 09:02:00 -07:00
parent c6c0f44dbd
commit eeb9c65a6d

View File

@ -45,9 +45,11 @@ Thread::Thread(const char *name)
message_loop_(NULL),
thread_id_(0),
name_(name) {
MOZ_COUNT_CTOR(base::Thread);
}
Thread::~Thread() {
MOZ_COUNT_DTOR(base::Thread);
Stop();
}