mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-04-21 06:13:43 +00:00
Fix audio deinit hang
This commit is contained in:
parent
afa48dc7a0
commit
a4317908e3
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ func (a *audioStruct) playLoop(deinitNeededChan, deinitFinishedChan chan bool) {
|
|||
if _, ok := err.(*os.PathError); !ok {
|
||||
reportError(err)
|
||||
}
|
||||
break
|
||||
}
|
||||
bytesToWrite -= written
|
||||
if bytesToWrite == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue