SHA256
Fix Little Memory Leaks
This commit is contained in:
1 parent
9454226306
commit
42741c2cb2
2 files changed
+18
-1
No files matched your search
@@ -104,6 +104,12 @@ namespace ADOFAIRenderer.Util
|
||||
|
||||
private void RecycleState(ReadbackRequestState state)
|
||||
{
|
||||
if (!_isInitialized)
|
||||
{
|
||||
state.Dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
state.Recycle();
|
||||
lock (_poolLock)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user