Skip to content

Commit

Permalink
fix: err
Browse files Browse the repository at this point in the history
  • Loading branch information
anhoder committed Sep 12, 2023
1 parent 239e7df commit fc59019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/state_handler/state_handler_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ func (s *Handler) SetPlayingInfo(info PlayingInfo) {
if i := image.InitWithContentsOfURL(url); i.ID > 0 {
image = i
s.curArtwork = mediaplayer.MPMediaItemArtwork_alloc().InitWithImage(image)
defer image.Release()
}
defer image.Release()
}
s.l.Unlock()
if s.curArtwork.ID > 0 {
Expand Down

0 comments on commit fc59019

Please sign in to comment.