mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
automatically collect garbage
This commit is contained in:
parent
19f77603c0
commit
7801f6b50f
8 changed files with 75 additions and 25 deletions
|
@ -286,6 +286,10 @@ impl AnalysisHost {
|
|||
self.db.apply_change(change)
|
||||
}
|
||||
|
||||
pub fn maybe_collect_garbage(&mut self) {
|
||||
self.db.maybe_collect_garbage();
|
||||
}
|
||||
|
||||
pub fn collect_garbage(&mut self) {
|
||||
self.db.collect_garbage();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue