Implement storage driver termination

This commit is contained in:
Lukas SP 2020-08-23 00:07:34 +02:00
parent 6011123ab1
commit db5e57fb04
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ func main() {
if err != nil {
panic(err)
}
defer storage.Current.Terminate()
// Wait for the program to exit
// TODO: Replace this through blocking API server