diff options
author | David Drysdale <drysdale@google.com> | 2024-04-15 05:35:59 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-15 05:35:59 +0000 |
commit | 98e175b6f8467d31566f90a266bffea39234e2ec (patch) | |
tree | 627d1b1fb53a39bd1380ada91c7dc283da4996a5 | |
parent | e5b6854fb8279ad6a7e8ab1427413e2a09a83f5e (diff) | |
parent | e2b37b6c622d522ba2be32b66c14790bc89bfca9 (diff) | |
download | security-master.tar.gz |
-rw-r--r-- | keystore2/src/database.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/keystore2/src/database.rs b/keystore2/src/database.rs index dd64764b..0cc982a8 100644 --- a/keystore2/src/database.rs +++ b/keystore2/src/database.rs @@ -842,12 +842,6 @@ impl AuthTokenEntry { } } -/// Shared in-memory databases get destroyed as soon as the last connection to them gets closed. -/// This object does not allow access to the database connection. But it keeps a database -/// connection alive in order to keep the in memory per boot database alive. -#[allow(dead_code)] -pub struct PerBootDbKeepAlive(Connection); - impl KeystoreDB { const UNASSIGNED_KEY_ID: i64 = -1i64; const CURRENT_DB_VERSION: u32 = 1; |