mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-26 15:49:57 -06:00
Fix missing domain service object dispose (#4879)
This commit is contained in:
@ -165,6 +165,12 @@ namespace Ryujinx.Horizon.Sdk.Sf.Cmif
|
||||
|
||||
entry.Owner = null;
|
||||
obj = entry.Obj;
|
||||
|
||||
if (obj.ServiceObject is IDisposable disposableObj)
|
||||
{
|
||||
disposableObj.Dispose();
|
||||
}
|
||||
|
||||
entry.Obj = null;
|
||||
_entries.Remove(entry.Node);
|
||||
entry.Node = null;
|
||||
|
Reference in New Issue
Block a user