Add missing lv2_obj::sleep when joining interrupt thread

This commit is contained in:
Eladash 2020-03-15 12:49:37 +02:00 committed by Ivan
parent 7e224c5585
commit 3566faabd9
2 changed files with 3 additions and 0 deletions

View file

@ -150,6 +150,8 @@ error_code _sys_interrupt_thread_disestablish(ppu_thread& ppu, u32 ih, vm::ptr<u
return CELL_ESRCH;
}
lv2_obj::sleep(ppu);
// Wait for sys_interrupt_thread_eoi() and destroy interrupt thread
handler->join();