Closed Bug 1434440 Opened 2 years ago Closed 2 years ago
Don't use raw pointers / manual memory management for Thread
ThreadInfo objects are currently owned by the mLiveThreads and mDeadThreads arrays in CorePS, and there's a weak pointer to the current thread's ThreadInfo in the TLS variable sThreadInfo. As threads get removed from mLiveThreads or mDeadThreads, we manually delete these objects. We should at least use UniquePtr for the owning pointers, or maybe even make ThreadInfo refcounted.
Fixed by bug 1437428.
You need to log in before you can comment on or make changes to this bug.