mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-28 17:28:26 +00:00
hotfix: reset stop source on thread stop
This commit is contained in:
parent
33afc00c3a
commit
1926900945
|
@ -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…
Reference in a new issue