内存优化
This commit is contained in:
@@ -10,7 +10,7 @@ impl RtrNotifier {
|
||||
Self { tx }
|
||||
}
|
||||
|
||||
pub fn notify_cache_updated(&self) {
|
||||
let _ = self.tx.send(());
|
||||
pub fn notify_cache_updated(&self) -> usize {
|
||||
self.tx.send(()).unwrap_or_default()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user