1
1
Fork 0
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:
FellippeHeitor 2021-01-01 23:16:49 -03:00
parent bd54eb0f39
commit fb2b916602

View file

@ -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"