Skip to content

Commit

Permalink
fix(player): Fix memory leak from bubblezone not being closed
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 22, 2024
1 parent 7afded4 commit e08aa54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/movie/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e08aa54

Please sign in to comment.