diff --git a/ui/allg5ui/renderer.go b/ui/allg5ui/renderer.go index dbc657b..34ddbef 100644 --- a/ui/allg5ui/renderer.go +++ b/ui/allg5ui/renderer.go @@ -98,6 +98,10 @@ func (r *Renderer) Refresh() { func (r *Renderer) Destroy() error { r.user.Destroy() r.eq.Destroy() + for _, f := range r.ft { + f.Destroy() + } + r.ft = nil r.disp.Destroy() return nil }