Files
Steven Allen c1e5f5ddf6 fix(index): avoid deadlock on close (#12950)
We can't hold the write lock while waiting on close because isClosed was
taking the read lock (and called while closing).

Instead, I just got rid of the locks entirely. Now, we just check the
context. Really, I'm not sure why we even have such an "is closed"
check. I _think_ what we actually want is to lock to prevent closing
until we've finished all atomic operations, but that's a larger change
and I don't have enough understanding of this code to easily make that
change.
2025-03-14 00:46:49 +00:00
..