From e08aa5428368a150c224e96f924838461025daf0 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Mon, 22 Apr 2024 16:08:06 -0500 Subject: [PATCH] fix(player): Fix memory leak from bubblezone not being closed --- internal/movie/player.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/movie/player.go b/internal/movie/player.go index ff57fa79..6e862aa8 100644 --- a/internal/movie/player.go +++ b/internal/movie/player.go @@ -157,6 +157,7 @@ func (p Player) Update(msg tea.Msg) (tea.Model, tea.Cmd) { p.log.Info("Disconnected early") } p.clearTimeouts() + p.zone.Close() return p, tea.Quit case PlayerOption: p.optionViewStale = true