Skip to content

Commit

Permalink
FD-749 database wasn't closing after first failed unlock attempt, lea…
Browse files Browse the repository at this point in the history
…ding to stalling on next attempt
  • Loading branch information
sambarnes committed Nov 15, 2018
1 parent e8403d3 commit a3a20e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/securedb/securedb.go
Expand Up @@ -55,6 +55,7 @@ func NewEncryptedDB(filename, dbtype, password string) (*EncryptedDB, error) {

err := e.initSecureDB(password)
if err != nil {
e.Close()
return nil, err
}

Expand Down

0 comments on commit a3a20e2

Please sign in to comment.