1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00

Fix: set_restart api panic

This commit is contained in:
Ink-33 2020-11-18 01:31:45 +08:00
parent 8f76558317
commit 83e0aaa0f8
No known key found for this signature in database
GPG Key ID: 5D8B1D036EFB0D2E

View File

@ -328,7 +328,6 @@ func main() {
b.Release()
case <-r:
log.Info("正在重启中...")
server.HttpServer.ShutDown()
defer b.Release()
restart(arg)
}