mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 12:04:18 +01:00
Merge pull request #4431 from kelnos/fix-exit-crash
GCAdapter: only join worker thread if running & joinable
This commit is contained in:
commit
99d191d80d
@ -265,7 +265,9 @@ void Adapter::Reset() {
|
||||
if (adapter_thread_running) {
|
||||
adapter_thread_running = false;
|
||||
}
|
||||
if (adapter_input_thread.joinable()) {
|
||||
adapter_input_thread.join();
|
||||
}
|
||||
|
||||
adapter_controllers_status.fill(ControllerTypes::None);
|
||||
get_origin.fill(true);
|
||||
|
Loading…
Reference in New Issue
Block a user