mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-09 23:14:46 +01:00
cellDmuxPamf: fix lv2 mutex + cond not being destroyed on close
This commit is contained in:
parent
4d6da6542e
commit
3616424b26
|
|
@ -2048,6 +2048,12 @@ error_code DmuxPamfContext::close(ppu_thread& ppu)
|
|||
|
||||
ensure(idm::remove<dmux_pamf_spu_thread>(hle_spu_thread_id));
|
||||
|
||||
if (sys_cond_destroy(ppu, cond) != CELL_OK
|
||||
|| sys_mutex_destroy(ppu, mutex) != CELL_OK)
|
||||
{
|
||||
return CELL_DMUX_PAMF_ERROR_FATAL;
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue