Browse Source
Merge pull request #9411 from Saalvage/fix/unlock-mutex
Correctly unlock mutex before its destruction
pull/15/merge
bunnei
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
3 deletions
-
src/core/hle/kernel/service_thread.cpp
|
|
|
@ -163,9 +163,6 @@ ServiceThread::Impl::~Impl() { |
|
|
|
m_wakeup_event->Signal(); |
|
|
|
m_host_thread.join(); |
|
|
|
|
|
|
|
// Lock mutex.
|
|
|
|
m_session_mutex.lock(); |
|
|
|
|
|
|
|
// Close all remaining sessions.
|
|
|
|
for (const auto& [server_session, manager] : m_sessions) { |
|
|
|
server_session->Close(); |
|
|
|
|