summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMica White <botahamec@gmail.com>2024-12-23 15:31:07 -0500
committerMica White <botahamec@gmail.com>2024-12-23 15:33:02 -0500
commit30d0f08b6073e9c2e545a3567838a9e1e885fea2 (patch)
tree5763e820ed5877b39ef9745e2a9380e665ced099 /src/lib.rs
parentfa4fe582f212bec3e4d9fe288aaac8c471b8e987 (diff)
Remove scopeguard
The scopeguard crate was being used for its `defer_on_unwind` macro. The problem was that it runs even if the runtime was already panicking. There aren't any changes to the macro which could have fixed this. I instead wrote my own function to check for a specific panicking closure.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ec43121..2139d6b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -164,6 +164,7 @@
//! [`OwnedLockCollection`]: `collection::OwnedLockCollection`
//! [`RetryingLockCollection`]: `collection::RetryingLockCollection`
+mod handle_unwind;
mod key;
pub mod collection;