mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-22 00:53:35 +00:00
Ensure all fences are destroyed on dispose
This commit is contained in:
parent
ed681977f9
commit
e1e69f64bc
1 changed files with 5 additions and 0 deletions
|
@ -178,6 +178,11 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
if (disposing)
|
if (disposing)
|
||||||
{
|
{
|
||||||
_buffer.Dispose();
|
_buffer.Dispose();
|
||||||
|
|
||||||
|
while (_pendingCopies.TryDequeue(out var pc))
|
||||||
|
{
|
||||||
|
pc.Fence.Put();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue