diff --git a/app/ui/ui.go b/app/ui/ui.go index c7da1239a..1e8e51fc9 100644 --- a/app/ui/ui.go +++ b/app/ui/ui.go @@ -1641,7 +1641,6 @@ func (s *Server) installUpdate(w http.ResponseWriter, r *http.Request) error { return fmt.Errorf("no update downloaded") } - // Send response before restarting response := map[string]any{ "success": true, diff --git a/app/updater/updater.go b/app/updater/updater.go index 862a1a36e..eeeb25bdf 100644 --- a/app/updater/updater.go +++ b/app/updater/updater.go @@ -287,7 +287,6 @@ func (u *Updater) TriggerImmediateCheck() { func (u *Updater) StartBackgroundUpdaterChecker(ctx context.Context, cb func(string) error) { u.checkNow = make(chan struct{}, 1) - go func() { // Don't blast an update message immediately after startup time.Sleep(UpdateCheckInitialDelay)