Use correct ArrayPool reference

This commit is contained in:
Peter Butzhammer
2024-07-22 14:17:43 +02:00
parent f1734ebd73
commit 636c56d252

View File

@@ -192,7 +192,7 @@ public class Sharp7Plc : IPlc
} }
finally finally
{ {
ArrayPool<byte>.Shared.Return(buffer); arrayPool.Return(buffer);
} }
} }
} }