diff options
| author | Liam <byteslice@airmail.cc> | 2022-10-29 23:05:56 -0400 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2022-10-29 23:05:56 -0400 |
| commit | d867ae5ab6d958c2a3eb20ba4a9a2aafe9c1a033 (patch) | |
| tree | 33f9a83bc191a307de7f235e2afdc2d2ac7ea406 /src/core/hle/service/sm/sm.cpp | |
| parent | c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb (diff) | |
k_server_session: fix crashes
Diffstat (limited to 'src/core/hle/service/sm/sm.cpp')
| -rw-r--r-- | src/core/hle/service/sm/sm.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index 48e70f93c..e2b8d8720 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -80,7 +80,6 @@ ResultVal<Kernel::KPort*> ServiceManager::GetServicePort(const std::string& name } auto* port = Kernel::KPort::Create(kernel); - SCOPE_EXIT({ port->Close(); }); port->Initialize(ServerSessionCountMax, false, name); auto handler = it->second; |
