mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-24 19:54:22 -04:00
sm: fix deadlock semantics surrounding mitm installation
This commit is contained in:
parent
fac502aaa3
commit
99b5458539
10 changed files with 62 additions and 3 deletions
|
@ -37,6 +37,12 @@ namespace ams::sm::mitm {
|
|||
});
|
||||
}
|
||||
|
||||
Result ClearFutureMitm(ServiceName name) {
|
||||
return impl::DoWithUserSession([&]() {
|
||||
return smAtmosphereMitmClearFuture(impl::ConvertName(name));
|
||||
});
|
||||
}
|
||||
|
||||
Result AcknowledgeSession(Service *out_service, MitmProcessInfo *out_info, ServiceName name) {
|
||||
return impl::DoWithMitmAcknowledgementSession([&]() {
|
||||
return smAtmosphereMitmAcknowledgeSession(out_service, reinterpret_cast<void *>(out_info), impl::ConvertName(name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue