Description
[root@VM-8-6-opencloudos lighthouse]# brook server -l :9999 -p hello &
[4] 91808
[root@VM-8-6-opencloudos lighthouse]# panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xd92896]
goroutine 5 [running]:
github.com/txthinking/runnergroup.(*RunnerGroup).Done(...)
github.com/txthinking/[email protected]/runnergroup.go:109
golang.txthinking.com/brook.(*Server).Shutdown(...)
golang.txthinking.com/brook/server.go:145
main.main.func4.3()
golang.txthinking.com/brook/cli/brook/main.go:266 +0x16
github.com/txthinking/runnergroup.(*RunnerGroup).Wait.func1.1(0x0, 0x0?)
github.com/txthinking/[email protected]/runnergroup.go:49 +0x59
created by github.com/txthinking/runnergroup.(*RunnerGroup).Wait.func1 in goroutine 22
github.com/txthinking/[email protected]/runnergroup.go:47 +0x5e