mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1215151 - Add XPCOM leak checking for base::Thread. r=jld
This commit is contained in:
parent
c6c0f44dbd
commit
eeb9c65a6d
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user