mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
cli: cleanup some process querying code (#170306)
Avoid pulling system info we don't have to. Minor cleanups while working on https://github.com/microsoft/vscode/pull/170305
This commit is contained in:
@@ -94,9 +94,7 @@ impl HandlerContext {
|
||||
async fn dispose(self) {
|
||||
let bridges: ServerBridgeList = {
|
||||
let mut lock = self.server_bridges.lock().await;
|
||||
let bridges = lock.take();
|
||||
*lock = None;
|
||||
bridges
|
||||
lock.take()
|
||||
};
|
||||
|
||||
if let Some(b) = bridges {
|
||||
|
||||
Reference in New Issue
Block a user