Skip to content

Commit

Permalink
add os.Exit() to shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Jul 14, 2022
1 parent 823290a commit 40b561e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/visor/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ func (v *Visor) Shutdown() error {
if v.restartCtx == nil {
return ErrMalformedRestartContext
}
defer os.Exit(0)
return v.Close()
}

Expand Down

0 comments on commit 40b561e

Please sign in to comment.