Skip to content

Commit 235b625

Browse files
committed
refactor: remove explicit lock drop at the end of scope
1 parent 014b002 commit 235b625

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/scheduler/connectivity.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ pub(crate) async fn maybe_network_lost(context: &Context, stores: Vec<Connectivi
241241
) {
242242
*connectivity_lock = DetailedConnectivity::Error("Connection lost".to_string());
243243
}
244-
drop(connectivity_lock);
245244
}
246245
context.emit_event(EventType::ConnectivityChanged);
247246
}

0 commit comments

Comments
 (0)