Skip to content

Commit

Permalink
fix server.start return nil points (zeromicro#379)
Browse files Browse the repository at this point in the history
Co-authored-by: luyongjie <[email protected]>
  • Loading branch information
workman-Lu and workman-Lu authored Jan 13, 2021
1 parent 3285436 commit 1f1dcd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/proc/shutdown+polyfill.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package proc
import "time"

func AddShutdownListener(fn func()) func() {
return nil
return fn
}

func AddWrapUpListener(fn func()) func() {
return nil
return fn
}

func SetTimeoutToForceQuit(duration time.Duration) {
Expand Down

0 comments on commit 1f1dcd1

Please sign in to comment.