Don't hold a mutex while it's destroyed.
Found by Coverity. If there's actually another thread using the list when the refcount hits zero, you're going to have a bad time regardless of the lock. Coverity has been pointing this out for a while, but we've been ignoring it as a false positive.
parent
9aa90f28
No related branches found
No related tags found
Please register or sign in to comment