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