diff --git a/core/storage/pager.rs b/core/storage/pager.rs index 690d711bf..2c80210d4 100644 --- a/core/storage/pager.rs +++ b/core/storage/pager.rs @@ -413,6 +413,7 @@ impl Pager { Err(err) => panic!("error while clearing cache {}", err), } } + // TODO: only clear cache of things that are really invalidated self.page_cache.write().unwrap().clear(); }