Resuming correctly re-opens the previsouly opened database

This commit is contained in:
Geoffroy BONNEVILLE
2020-05-02 14:39:42 +02:00
parent 654bd6b4e5
commit 97b10baedc
4 changed files with 4 additions and 6 deletions

View File

@@ -18,10 +18,6 @@ namespace ModernKeePass.Application.Database.Commands.CloseDatabase
{
if (!_database.IsOpen) throw new DatabaseClosedException();
_database.CloseDatabase();
// Cleanup
_database.FileAccessToken = null;
_database.Size = 0;
}
}
}