ryujinx/Ryujinx.HLE/HOS/Kernel/Common/OnScopeExit.cs