Merge pull request #27 from tramhao/master

Fix a bug p.subtitle is not closed during initialization.
This commit is contained in:
Raziman Mahathir 2021-02-27 16:07:43 +08:00 committed by GitHub
commit d0f813596c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,6 +161,7 @@ func (p *PlayingBar) newProgress(currentSong *AudioFile, full int) {
p.setSongTitle(currentSong.name)
p.hasTag = false
p.subtitles = nil
p.subtitle = nil
p.tag = nil
var tag *id3v2.Tag