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:
parent
6011123ab1
commit
db5e57fb04
@ -20,6 +20,7 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
defer storage.Current.Terminate()
|
||||||
|
|
||||||
// Wait for the program to exit
|
// Wait for the program to exit
|
||||||
// TODO: Replace this through blocking API server
|
// TODO: Replace this through blocking API server
|
||||||
|
Loading…
Reference in New Issue
Block a user