程序意外退出时关闭sqlite指针

This commit is contained in:
刘祥超
2022-03-14 11:47:34 +08:00
parent ce87fa25e7
commit d0b86af4ef
7 changed files with 72 additions and 13 deletions

View File

@@ -3,8 +3,9 @@ package events
type Event = string
const (
EventStart Event = "start" // start loading
EventLoaded Event = "loaded" // first load
EventQuit Event = "quit" // quit node gracefully
EventReload Event = "reload" // reload config
EventStart Event = "start" // start loading
EventLoaded Event = "loaded" // first load
EventQuit Event = "quit" // quit node gracefully
EventReload Event = "reload" // reload config
EventTerminated Event = "terminated" // process terminated
)