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

@ -9,7 +9,7 @@ namespace Ryujinx.OsHle.Objects
{
if (Context.Session is HDomain Dom)
{
Context.Response.ResponseObjIds.Add(Dom.GenertateObjectId(Obj));
Context.Response.ResponseObjIds.Add(Dom.GenerateObjectId(Obj));
}
else
{