Skip to content

Commit

Permalink
fix exit and restart app
Browse files Browse the repository at this point in the history
  • Loading branch information
ad committed Jan 24, 2024
1 parent 6699fae commit 0bed962
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ func onReady() {
select {
case <-mRestart.ClickedCh:
fmt.Println("Requesting restart")
cancel()
_ = Restart()
return
case <-mConfig.ClickedCh:
Expand All @@ -101,7 +100,6 @@ func onReady() {
return
case <-mQuit.ClickedCh:
fmt.Println("Requesting quit")
cancel()
systray.Quit()
return
}
Expand Down

0 comments on commit 0bed962

Please sign in to comment.