mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Fix potential thread_pool crash on exit
Minor issue.
This commit is contained in:
parent
e39348ad96
commit
24c246a9f6
@ -39,6 +39,7 @@ DYNAMIC_IMPORT("ntdll.dll", NtSetTimerResolution, NTSTATUS(ULONG DesiredResoluti
|
||||
|
||||
#include "Utilities/sysinfo.h"
|
||||
#include "Utilities/Config.h"
|
||||
#include "Utilities/Thread.h"
|
||||
#include "rpcs3_version.h"
|
||||
#include "Emu/System.h"
|
||||
#include <thread>
|
||||
@ -367,6 +368,9 @@ int main(int argc, char** argv)
|
||||
}
|
||||
#endif
|
||||
|
||||
// Initialize thread pool finalizer (on first use)
|
||||
named_thread("", []{});
|
||||
|
||||
std::unique_ptr<logs::listener> log_file;
|
||||
{
|
||||
// Check free space
|
||||
|
Loading…
Reference in New Issue
Block a user