1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 20:51:00 +01:00

Merged R8632

This commit is contained in:
Wouter den Breejen 2007-10-08 10:15:18 +00:00
parent 3800f55b54
commit 8e9c7d9338
6 changed files with 53 additions and 8 deletions

View file

@ -274,7 +274,11 @@ LocalStore::LocalStore(bool reserveSpace)
LocalStore::~LocalStore()
{
/* If the database isn't open, this is a NOP. */
nixDB.close();
try {
nixDB.close();
} catch (...) {
ignoreException();
}
}