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
dc63a578f6
commit
cc1601432e
@ -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