This commit is contained in:
gwenn 2024-07-23 19:28:21 +02:00
parent a53bcd4769
commit 3810178be0

View File

@ -155,7 +155,7 @@ impl InnerConnection {
self.remove_preupdate_hook();
let mut shared_handle = self.interrupt_lock.lock().unwrap();
assert!(
!shared_handle.is_null(),
!self.owned || !shared_handle.is_null(),
"Bug: Somehow interrupt_lock was cleared before the DB was closed"
);
if !self.owned {