diff options
Diffstat (limited to 'widgets/spinner.go')
-rw-r--r-- | widgets/spinner.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/spinner.go b/widgets/spinner.go index 2bd416ac..f2607727 100644 --- a/widgets/spinner.go +++ b/widgets/spinner.go @@ -9,6 +9,7 @@ import ( "git.sr.ht/~rjarry/aerc/config" "git.sr.ht/~rjarry/aerc/lib/ui" + "git.sr.ht/~rjarry/aerc/logging" ) type Spinner struct { @@ -37,6 +38,8 @@ func (s *Spinner) Start() { atomic.StoreInt64(&s.frame, 0) go func() { + defer logging.PanicHandler() + for { select { case <-s.stop: |