Merge pull request #564 from Sergio0694/dev/return-lost-array
Return rented array to array pool
このコミットが含まれているのは:
1ファイル変更
+2
@@ -57,6 +57,8 @@ internal static unsafe class ID2D1EffectExtensions
|
||||
|
||||
shader.InitializeFromDispatchData(buffer.AsSpan(0, constantBufferSize));
|
||||
|
||||
ArrayPool<byte>.Shared.Return(buffer);
|
||||
|
||||
return shader;
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする