1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

Implement storage driver termination

This commit is contained in:
Lukas SP 2020-08-23 00:07:34 +02:00
parent 6011123ab1
commit db5e57fb04

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