Serialize GPU context disposal

This commit is contained in:
Marek Lemańczyk committed 2025-09-09 21:28:22 +02:00
1 parent 9f35f6c558
commit 0470da1e89
1 file changed
+3
@@ -115,10 +115,13 @@ public static class GpuContextPool
} }
else else
{
lock (CreationLock)
{ {
ctx.Dispose(); ctx.Dispose();
} }
} }
}
public struct GpuContextLease : IDisposable public struct GpuContextLease : IDisposable
{ {