mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
fix tracing errors
This commit is contained in:
committed by
Aiden McClelland
parent
f45f3a5b33
commit
89d2b31f41
@@ -420,14 +420,14 @@ impl LockOrderEnforcer {
|
||||
match self.locks_held.remove_with_key(&req.handle_id) {
|
||||
None => {
|
||||
#[cfg(feature = "tracing")]
|
||||
tracing::warn!("Invalid removal from session manager: {}", req);
|
||||
tracing::warn!("Invalid removal from session manager: {:?}", req);
|
||||
}
|
||||
Some((hdl, mut locks)) => {
|
||||
let k = (req.ptr.clone(), req.ty);
|
||||
match locks.remove_with_key(&k) {
|
||||
None => {
|
||||
#[cfg(feature = "tracing")]
|
||||
tracing::warn!("Invalid removal from session manager: {}", req);
|
||||
tracing::warn!("Invalid removal from session manager: {:?}", req);
|
||||
}
|
||||
Some((k, n)) => {
|
||||
if n - 1 > 0 {
|
||||
|
||||
Reference in New Issue
Block a user