forked from Mirror/Ryujinx
Unsubscribe MemoryUnmappedHandler even when GPU channel is destroyed (#3872)
This commit is contained in:
parent
69ced3a6e8
commit
5de6ae426e
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ namespace Ryujinx.Graphics.Gpu
|
||||||
{
|
{
|
||||||
oldMemoryManager.Physical.BufferCache.NotifyBuffersModified -= BufferManager.Rebind;
|
oldMemoryManager.Physical.BufferCache.NotifyBuffersModified -= BufferManager.Rebind;
|
||||||
oldMemoryManager.Physical.DecrementReferenceCount();
|
oldMemoryManager.Physical.DecrementReferenceCount();
|
||||||
|
oldMemoryManager.MemoryUnmapped -= MemoryUnmappedHandler;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue