Merge pull request #38 from tramhao/master

Fix for high cpu usage
This commit is contained in:
Raziman Mahathir 2021-03-10 21:30:34 +08:00 committed by GitHub
commit 82cf89c0bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,7 @@ func (p *PlayingBar) run() error {
}
if gomu.player.IsPaused() {
time.Sleep(1 * time.Second)
continue
}