f
authorMatt Corallo <git@bluematt.me>
Tue, 10 Jan 2023 05:40:27 +0000 (05:40 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 10 Jan 2023 05:40:27 +0000 (05:40 +0000)
lightning/src/debug_sync.rs

index 13a3639e61d30130a0b1ffb685abe3043ce420ba..79c3e70511432330b804d548ae3d97e9ccf631e1 100644 (file)
@@ -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() {