mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
Breaking the long line
This commit is contained in:
parent
fafe4b70b5
commit
584b1a3dba
3
db.go
3
db.go
@ -441,7 +441,8 @@ func (db *DB) init() error {
|
||||
}
|
||||
|
||||
// Close releases all database resources.
|
||||
// It will block waiting for any open transactions to finish before closing the database and returning.
|
||||
// It will block waiting for any open transactions to finish
|
||||
// before closing the database and returning.
|
||||
func (db *DB) Close() error {
|
||||
db.rwlock.Lock()
|
||||
defer db.rwlock.Unlock()
|
||||
|
Loading…
x
Reference in New Issue
Block a user