Skip to content

Commit

Permalink
proper exit on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
atterpac committed Jan 16, 2024
1 parent 9bb4146 commit d4819c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/refresh/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

func main() {
var version string = "0.4.29"
var version string = "0.4.3"

var rootPath string
var execCommand string
Expand Down
1 change: 1 addition & 0 deletions engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func (engine *Engine) SigTrap() {
func (engine *Engine) Stop() {
killProcess(engine.Process)
notify.Stop(engine.Chan)
os.Exit(0)
}

func (engine *Engine) SetLogger(logger *slog.Logger) {
Expand Down

0 comments on commit d4819c6

Please sign in to comment.