mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-03 10:01:21 +00:00
Frees mem lock for sound handles at _SNDCLOSE.
This commit is contained in:
parent
bd54eb0f39
commit
fb2b916602
|
@ -1051,6 +1051,10 @@ void sub__sndclose(int32 handle){
|
|||
}
|
||||
snd->close=1;//raw
|
||||
snd->raw_close_time=GetTicks();
|
||||
|
||||
if (snd->lock_id){
|
||||
free_mem_lock((mem_lock*)snd->lock_offset);//untag
|
||||
}
|
||||
}//sndclose
|
||||
|
||||
//"macros"
|
||||
|
|
Loading…
Reference in a new issue