am: use WindowSystem to handle library applet termination

This commit is contained in:
Liam 2024-02-25 21:24:21 -05:00
parent d3ab172afb
commit c4a820f1c8

View File

@ -176,7 +176,7 @@ Result ILibraryAppletSelfAccessor::GetMainAppletStorageId(Out<FileSys::StorageId
Result ILibraryAppletSelfAccessor::ExitProcessAndReturn() {
LOG_INFO(Service_AM, "called");
system.Exit();
m_applet->process->Terminate();
R_SUCCEED();
}