Skip to content

Commit

Permalink
Minor cosmetic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zenazn committed Apr 12, 2014
1 parent 6be0a42 commit 53f6b7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graceful/signal.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func AddSignal(sig ...os.Signal) {
signal.Notify(sigchan, sig...)
}

// ResetSignals resets the list of signals that trigger a graceful shutdown.
// ResetSignals resets the list of signals that trigger a graceful shutdown.
// Useful if, for instance, you don't want to use the default interrupt (SIGINT)
// handler. Since we necessarily install the SIGINT handler before you have a
// chance to call ResetSignals(), there will be a brief window during which the
Expand All @@ -57,7 +57,7 @@ func (u userShutdown) String() string {
}
func (u userShutdown) Signal() {}

// Shutdown manually trigger a shutdown from your application. Like Wait(),
// Shutdown manually triggers a shutdown from your application. Like Wait(),
// blocks until all connections have gracefully shut down.
func Shutdown() {
sigchan <- userShutdown{}
Expand Down

0 comments on commit 53f6b7b

Please sign in to comment.