mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
audio: Bug fix: Remove redundant Unlock
This commit is contained in:
parent
9fc2ae158c
commit
81549a3523
@ -346,7 +346,6 @@ func (p *playerImpl) Close() error {
|
||||
c := p.closedExplicitly
|
||||
p.m.Unlock()
|
||||
if c {
|
||||
p.m.Unlock()
|
||||
return fmt.Errorf("audio: the player is already closed")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user