Files
sbox-public/engine/Sandbox.Test.Unit/Network
Lorenz Junglas 5e413032df Fix steam buffer GCHandle leak (#4479)
* Fix GCHandle leak when passing data to steam sockect

In 519ad5d815 we started passing the same byte array to N connections.
Our handle bookkeeping would pin the array N times but inly free it once so N-1 handles and the buffer would leak.

We now avoid pinning and GCHandles altogether and do a cheap mem copy instead of handle bookkeeping.

* Avoid a few more allocations in receive path
2026-04-07 14:42:16 +02:00
..
2026-01-12 21:59:15 +01:00
2026-01-12 21:59:15 +01:00
2026-01-12 21:59:15 +01:00