This reverts commit 85dbb9559a
.
This commit is contained in:
parent
85dbb9559a
commit
3615a70cae
299 changed files with 12276 additions and 12268 deletions
|
@ -5,14 +5,14 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
{
|
||||
class KSession : IDisposable
|
||||
{
|
||||
public IpcService Service { get; }
|
||||
public IpcService Service { get; private set; }
|
||||
|
||||
public string ServiceName { get; }
|
||||
public string ServiceName { get; private set; }
|
||||
|
||||
public KSession(IpcService service, string serviceName)
|
||||
public KSession(IpcService Service, string ServiceName)
|
||||
{
|
||||
Service = service;
|
||||
ServiceName = serviceName;
|
||||
this.Service = Service;
|
||||
this.ServiceName = ServiceName;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
@ -20,11 +20,11 @@ namespace Ryujinx.HLE.HOS.Kernel
|
|||
Dispose(true);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
protected virtual void Dispose(bool Disposing)
|
||||
{
|
||||
if (disposing && Service is IDisposable disposableService)
|
||||
if (Disposing && Service is IDisposable DisposableService)
|
||||
{
|
||||
disposableService.Dispose();
|
||||
DisposableService.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue