mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-04 06:16:36 +08:00
改进退出程序时关闭数据库写入
This commit is contained in:
@@ -18,7 +18,7 @@ func init() {
|
||||
return
|
||||
}
|
||||
|
||||
events.On(events.EventQuit, func() {
|
||||
events.OnClose(func() {
|
||||
SharedManager.Quit()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user