mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-09 04:55:15 +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->close=1;//raw
|
||||||
snd->raw_close_time=GetTicks();
|
snd->raw_close_time=GetTicks();
|
||||||
|
|
||||||
|
if (snd->lock_id){
|
||||||
|
free_mem_lock((mem_lock*)snd->lock_offset);//untag
|
||||||
|
}
|
||||||
}//sndclose
|
}//sndclose
|
||||||
|
|
||||||
//"macros"
|
//"macros"
|
||||||
|
|
Loading…
Reference in a new issue