mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-23 17:01:21 -08:00
Fix GUI freeze wehn closing without any emulation running (#853)
This commit is contained in:
parent
1db3a66da3
commit
ad84f3a7b3
@ -766,13 +766,13 @@ namespace Ryujinx.HLE.HOS
|
||||
foreach (KProcess process in Processes.Values)
|
||||
{
|
||||
process.Terminate();
|
||||
|
||||
// Exit ourself now!
|
||||
Scheduler.ExitThread(terminationThread);
|
||||
Scheduler.GetCurrentThread().Exit();
|
||||
Scheduler.RemoveThread(terminationThread);
|
||||
}
|
||||
}
|
||||
|
||||
// Exit ourself now!
|
||||
Scheduler.ExitThread(terminationThread);
|
||||
Scheduler.GetCurrentThread().Exit();
|
||||
Scheduler.RemoveThread(terminationThread);
|
||||
});
|
||||
|
||||
terminationThread.Start();
|
||||
|
Loading…
Reference in New Issue
Block a user