Explorar o código

Unsubscribe MemoryUnmappedHandler even when GPU channel is destroyed (#3872)

gdkchan %!s(int64=3) %!d(string=hai) anos
pai
achega
5de6ae426e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Ryujinx.Graphics.Gpu/GpuChannel.cs

+ 1 - 0
Ryujinx.Graphics.Gpu/GpuChannel.cs

@@ -133,6 +133,7 @@ namespace Ryujinx.Graphics.Gpu
             {
                 oldMemoryManager.Physical.BufferCache.NotifyBuffersModified -= BufferManager.Rebind;
                 oldMemoryManager.Physical.DecrementReferenceCount();
+                oldMemoryManager.MemoryUnmapped -= MemoryUnmappedHandler;
             }
         }
     }