Make HSessionObj implement IDisposable (#10)

* Make HSessionObj implement IDisposable, so that objects that have handles created to them are disposed when the handles are closed.

* Spelling fix: GenertateObjectId -> GenerateObjectId
This commit is contained in:
Stary 2001 2018-02-10 18:31:40 +00:00 committed by gdkchan
parent 55743c0cba
commit 2f2b60db4c
4 changed files with 22 additions and 4 deletions

View file

@ -17,7 +17,7 @@ namespace Ryujinx.OsHle.Handles
ObjIds = new IdPool();
}
public int GenertateObjectId(object Obj)
public int GenerateObjectId(object Obj)
{
int Id = ObjIds.GenerateId();