We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b4fae0 commit a5358d0Copy full SHA for a5358d0
lightning/src/ln/channelmanager.rs
@@ -1717,13 +1717,12 @@ macro_rules! process_events_body {
1717
let mut pending_events = $self.pending_events.lock().unwrap();
1718
pending_events.drain(..num_events);
1719
processed_all_events = pending_events.is_empty();
1720
+ $self.pending_events_processor.store(false, Ordering::Release);
1721
}
1722
1723
if result == NotifyOption::DoPersist {
1724
$self.persistence_notifier.notify();
1725
-
1726
- $self.pending_events_processor.store(false, Ordering::Release);
1727
1728
1729
0 commit comments