aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/remote_filesystem.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/remote_filesystem.rs')
-rw-r--r--crates/shirabe/src/util/remote_filesystem.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/util/remote_filesystem.rs b/crates/shirabe/src/util/remote_filesystem.rs
index fc61b16f..9b851007 100644
--- a/crates/shirabe/src/util/remote_filesystem.rs
+++ b/crates/shirabe/src/util/remote_filesystem.rs
@@ -256,7 +256,7 @@ impl RemoteFilesystem {
.map_err(|e| anyhow::anyhow!(e))?;
let using_proxy = {
- let proxy_manager_guard = ProxyManager::get_instance().lock().unwrap();
+ let proxy_manager_guard = ProxyManager::get_instance();
let proxy = proxy_manager_guard
.as_ref()
.expect("ProxyManager instance")