mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan
This commit is contained in:
parent
4b4ff4de2e
commit
84daaa9b30
@ -82,6 +82,12 @@ nsThread::~nsThread()
|
||||
|
||||
PR_LOG(nsIThreadLog, PR_LOG_DEBUG,
|
||||
("nsIThread %p destroyed\n", this));
|
||||
#if defined(PR_LOGGING)
|
||||
if (this == gMainThread) {
|
||||
delete nsIThreadLog;
|
||||
nsIThreadLog = nsnull;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user