fix server.start return nil points (#379)

Co-authored-by: luyongjie <luyongjie@37.com>
master
卢永杰 4 years ago committed by GitHub
parent 3285436f75
commit 1f1dcd16e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,11 +5,11 @@ package proc
import "time" import "time"
func AddShutdownListener(fn func()) func() { func AddShutdownListener(fn func()) func() {
return nil return fn
} }
func AddWrapUpListener(fn func()) func() { func AddWrapUpListener(fn func()) func() {
return nil return fn
} }
func SetTimeoutToForceQuit(duration time.Duration) { func SetTimeoutToForceQuit(duration time.Duration) {

Loading…
Cancel
Save