|
|
@@ -81,7 +81,7 @@ impl RequestHandler for JsonRpcInterface {
|
|
|
to_json_result(rep, req.id)
|
|
|
}
|
|
|
|
|
|
- async fn get_connections(&self) -> MutexGuard<'_, HashSet<StoppableTaskPtr>> {
|
|
|
+ async fn connections_mut(&self) -> MutexGuard<'_, HashSet<StoppableTaskPtr>> {
|
|
|
self.rpc_connections.lock().await
|
|
|
}
|
|
|
}
|