mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +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