mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 22:14:58 +00:00
Fix a corner case in lv2_timer_thread abort
This commit is contained in:
parent
89b8be98d6
commit
f5d39ef7f2
@ -149,6 +149,11 @@ void lv2_timer_thread::operator()()
|
||||
{
|
||||
while (lv2_obj::check(timer))
|
||||
{
|
||||
if (thread_ctrl::state() == thread_state::aborting)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
if (const u64 advised_sleep_time = timer->check(_now))
|
||||
{
|
||||
if (sleep_time > advised_sleep_time)
|
||||
|
Loading…
x
Reference in New Issue
Block a user