From 53751b065082b3b47d3cc69d50ae437877443eaf Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 10 Jan 2023 05:40:27 +0000 Subject: [PATCH] f --- lightning/src/debug_sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/debug_sync.rs b/lightning/src/debug_sync.rs index 13a3639e6..79c3e7051 100644 --- a/lightning/src/debug_sync.rs +++ b/lightning/src/debug_sync.rs @@ -77,7 +77,7 @@ fn get_construction_location(backtrace: &Backtrace) -> String { // Find the first frame that is after `debug_sync` (or that is in our tests) and use // that as the mutex construction site. Note that the first few frames may be in // the `backtrace` crate, so we have to ignore those. - let sync_mutex_constr_regex = regex::Regex::new(r"lightning.*debug_sync.*new").unwrap(); + let sync_mutex_constr_regex = regex::Regex::new(r"lightning.*debug_sync").unwrap(); let mut found_debug_sync = false; for frame in backtrace.frames() { for symbol in frame.symbols() { -- 2.39.5