commit | f42e0ef23f0df43a95653952e29c349abf768b21 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Wed Mar 10 17:09:15 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Mar 10 17:09:15 2021 +0000 |
tree | 5eb2d10bfeb6437fa99fc11628a903e0dc4d3519 | |
parent | aa8218007569e6b45e53ea055f11e870be304e78 [diff] | |
parent | 9c01baaabfecdc8c007c9f7e23a55f2c46ba059d [diff] |
Merge "No need for Arc around state, as VirtManager is not Clone."
diff --git a/virtmanager/src/aidl.rs b/virtmanager/src/aidl.rs index aecb4ce..8394e36 100644 --- a/virtmanager/src/aidl.rs +++ b/virtmanager/src/aidl.rs
@@ -30,7 +30,7 @@ /// Implementation of `IVirtManager`, the entry point of the AIDL service. #[derive(Debug, Default)] pub struct VirtManager { - state: Arc<Mutex<State>>, + state: Mutex<State>, } impl Interface for VirtManager {}