Skip to content
  • Deucе's avatar
    Don't hold a mutex while it's destroyed. · 44afa1b3
    Deucе authored
    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.