Dispose Rng
This commit is contained in:
parent
fb27eb5d1e
commit
d2ebf6e86c
1 changed files with 15 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
|||
using Ryujinx.HLE.OsHle.Ipc;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace Ryujinx.HLE.OsHle.Services.Spl
|
||||
{
|
||||
class IRandomInterface : IpcService
|
||||
class IRandomInterface : IpcService, IDisposable
|
||||
{
|
||||
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
||||
|
||||
|
@ -32,5 +33,18 @@ namespace Ryujinx.HLE.OsHle.Services.Spl
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool Disposing)
|
||||
{
|
||||
if (Disposing)
|
||||
{
|
||||
Rng.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue