Merge pull request #1 from mlemanczyk/codex/fix-gpu-related-exception-in-evenperfectbitscanner

Serialize GPU context disposal
This commit is contained in:
Marek Lemańczyk authored and GitHub committed 2025-09-09 21:28:36 +02:00
commit 15e84d5845
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
{ {