Open
Bug 1504335
Opened 6 years ago
Updated 2 years ago
Do not leak shutdown context when the leaked thread does complete before shutdown.
Categories
(Core :: XPCOM, enhancement)
Tracking
()
NEW
People
(Reporter: valentin, Unassigned)
References
Details
When leaking a stuck thread using nsIThreadPool.ShutdownWithTimeout we also leak its shutdown context. However, the leaked thread might actually complete before the main thread is done with everything, so it would be nice if for this case we didn't leak the shutdown context. I suspect the easiest way to do this is to make nsThreadShutdownContext refcountable.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•