mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-31 07:43:16 +00:00
hotfix: reset stop source on thread stop
This commit is contained in:
parent
33afc00c3a
commit
1926900945
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ public:
|
||||||
stop.request_stop();
|
stop.request_stop();
|
||||||
Join();
|
Join();
|
||||||
}
|
}
|
||||||
|
thread = nullptr;
|
||||||
|
func = nullptr;
|
||||||
|
stop = std::stop_source{};
|
||||||
}
|
}
|
||||||
|
|
||||||
static void* PS4_SYSV_ABI RunWrapper(void* arg) {
|
static void* PS4_SYSV_ABI RunWrapper(void* arg) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue