mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Fix missing domain service object dispose (#4879)
This commit is contained in:
1 parent
a7c6e6a8cf
commit
0a0675a7f6
1 file changed
+6
@@ -165,6 +165,12 @@ namespace Ryujinx.Horizon.Sdk.Sf.Cmif
|
|||||||
|
|
||||||
entry.Owner = null;
|
entry.Owner = null;
|
||||||
obj = entry.Obj;
|
obj = entry.Obj;
|
||||||
|
|
||||||
|
if (obj.ServiceObject is IDisposable disposableObj)
|
||||||
|
{
|
||||||
|
disposableObj.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
entry.Obj = null;
|
entry.Obj = null;
|
||||||
_entries.Remove(entry.Node);
|
_entries.Remove(entry.Node);
|
||||||
entry.Node = null;
|
entry.Node = null;
|
||||||
|
|||||||
Reference in new issue
Block a user