mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
add gc request
This commit is contained in:
parent
6df1f71b7d
commit
f6adb85b68
7 changed files with 44 additions and 11 deletions
|
@ -231,6 +231,10 @@ impl ServerWorldState {
|
|||
vfs: Arc::clone(&self.vfs),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn collect_garbadge(&mut self) {
|
||||
self.analysis_host.collect_garbage()
|
||||
}
|
||||
}
|
||||
|
||||
impl ServerWorld {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue