This commit is contained in:
Christien Rioux 2023-10-19 23:09:35 -04:00
parent 2a1b3762c8
commit 353c907497

View File

@ -1589,6 +1589,8 @@ impl RouteSpecStore {
/// Clear caches when local our local node info changes
#[instrument(level = "trace", skip(self))]
pub fn reset(&self) {
log_rtab!(debug "flushing route spec store");
let inner = &mut *self.inner.lock();
// Clean up local allocated routes