diff options
-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; |