1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-15 08:26:56 +00:00
Atmosphere/mesosphere/source/processes/KLightSession.cpp

27 lines
472 B
C++
Raw Normal View History

#include <mesosphere/processes/KLightSession.hpp>
#include <mesosphere/core/KCoreContext.hpp>
namespace mesosphere
{
KLightSession::~KLightSession()
{
}
Result KLightSession::Initialize()
{
SetClientServerParent();
isClientAlive = true;
isServerAlive = true;
SetResourceOwner(KCoreContext::GetCurrentInstance().GetCurrentProcess());
return ResultSuccess();
}
void KLightSession::Terminate(bool fromServer)
{
server.Terminate(fromServer);
}
}