From 0572dc21739e928504f117ca7ea5b6ab1fa7db6f Mon Sep 17 00:00:00 2001 From: Cooper H <60411087+cxxpxr@users.noreply.github.com> Date: Thu, 2 Sep 2021 22:44:08 -0500 Subject: [PATCH] Update RelayHandlerCallbacks.cs --- .../LRM/RelayHandler/RelayHandlerCallbacks.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/RelayHandler/RelayHandlerCallbacks.cs b/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/RelayHandler/RelayHandlerCallbacks.cs index c7f2da99..4169542f 100644 --- a/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/RelayHandler/RelayHandlerCallbacks.cs +++ b/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/RelayHandler/RelayHandlerCallbacks.cs @@ -46,6 +46,8 @@ public void HandleMessage(int clientId, ArraySegment segmentData, int chan var sendBuffer = _sendBuffers.Rent(1); sendBuffer.WriteByte(ref writePos, (byte)OpCodes.Authenticated); Program.transport.ServerSend(clientId, 0, new ArraySegment(sendBuffer, 0, writePos)); + + _sendBuffers.Return(sendBuffer); } else {