2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

service_thread: fix uninitialized memory usage

This commit is contained in:
Liam 2022-12-04 15:30:27 -05:00
parent 522e7c5663
commit cec3a3cd5a

View file

@ -36,14 +36,14 @@ public:
private: private:
KernelCore& kernel; KernelCore& kernel;
std::jthread m_host_thread;
std::mutex m_session_mutex;
std::map<KServerSession*, std::shared_ptr<SessionRequestManager>> m_sessions;
KEvent* m_wakeup_event;
KThread* m_thread;
std::atomic<bool> m_shutdown_requested;
const std::string m_service_name; const std::string m_service_name;
std::jthread m_host_thread{};
std::mutex m_session_mutex{};
std::map<KServerSession*, std::shared_ptr<SessionRequestManager>> m_sessions{};
KEvent* m_wakeup_event{};
KThread* m_thread{};
std::atomic<bool> m_shutdown_requested{};
}; };
void ServiceThread::Impl::WaitAndProcessImpl() { void ServiceThread::Impl::WaitAndProcessImpl() {