mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-01-27 02:44:23 +01:00
Fix audio deinit hang
This commit is contained in:
parent
afa48dc7a0
commit
a4317908e3
|
|
@ -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…
Reference in a new issue