Closed anacrolix closed 3 years ago
I believe the simplification in https://github.com/crawshaw/sqlite/commit/c394106d93fa5bf54e213be1bbab1cb846380bf7 after https://github.com/crawshaw/sqlite/pull/104#issuecomment-727685441 is not correct. It's still necessary to check that the pool is not closed after obtaining the mutex.
I see. Yes you're right.
FWIW it's actually broken since this change, and it may be worthwhile reverting it until it's refactored correctly.
@AdamSLevy I created a PR to revert the change.
Thanks!
I believe the simplification in https://github.com/crawshaw/sqlite/commit/c394106d93fa5bf54e213be1bbab1cb846380bf7 after https://github.com/crawshaw/sqlite/pull/104#issuecomment-727685441 is not correct. It's still necessary to check that the pool is not closed after obtaining the mutex.