Fix Little Memory Leaks

This commit is contained in:
copecone committed 2026-05-27 15:44:55 +09:00
1 parent 9454226306
commit 42741c2cb2
2 files changed
+18 -1

No files matched your search

+6
View File
@@ -104,6 +104,12 @@ namespace ADOFAIRenderer.Util
private void RecycleState(ReadbackRequestState state)
{
if (!_isInitialized)
{
state.Dispose();
return;
}
state.Recycle();
lock (_poolLock)
{