diff options
author | Reto Brunner <reto@labrat.space> | 2019-08-07 08:21:15 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-08-08 10:24:03 +0900 |
commit | 072b5f453ccb8c3d79f55be80f5db9e71cf17a31 (patch) | |
tree | 2b83400568fad92a5c434e26e3b8b8af53e0cc77 /commands | |
parent | d4416e74ac64e10249ad085f0bcd12887b077bf2 (diff) |
Close backends prior to shutdown
We need some way to signal the backends that we are about to shutdown,
allowing them to clean up (for example in notmuch committing the db changes).
This commit implements a hook which gets called upon shutdown, providing
backends implement the io.Closer interface.
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions