Misc code cleanups accumulated while working on other changes (#34787)
Release Notes: - N/A
This commit is contained in:
parent
7c1040bc93
commit
137081f050
7 changed files with 9 additions and 21 deletions
|
@ -46,6 +46,7 @@ impl DapRegistry {
|
|||
let name = adapter.name();
|
||||
let _previous_value = self.0.write().adapters.insert(name, adapter);
|
||||
}
|
||||
|
||||
pub fn add_locator(&self, locator: Arc<dyn DapLocator>) {
|
||||
self.0.write().locators.insert(locator.name(), locator);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue