video_core: Fix jthread related hangs when stopping emulation
jthread on some compilers is more picky when it comes to the order in which objects are destroyed.
This commit is contained in:
parent
17bf40f405
commit
ab63a193d7
2 changed files with 2 additions and 2 deletions
|
@ -212,7 +212,6 @@ private:
|
|||
vk::CommandBuffer current_cmdbuf;
|
||||
|
||||
std::unique_ptr<CommandChunk> chunk;
|
||||
std::jthread worker_thread;
|
||||
|
||||
State state;
|
||||
|
||||
|
@ -226,6 +225,7 @@ private:
|
|||
std::mutex work_mutex;
|
||||
std::condition_variable_any work_cv;
|
||||
std::condition_variable wait_cv;
|
||||
std::jthread worker_thread;
|
||||
};
|
||||
|
||||
} // namespace Vulkan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue