cellDmuxPamf: fix lv2 mutex + cond not being destroyed on close

This commit is contained in:
capriots 2026-02-21 22:22:21 +01:00 committed by Elad
parent 4d6da6542e
commit 3616424b26

View file

@ -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;
}