Ejemplo n.º 1
0
        /// <inheritdoc />
        public override void Dispose(bool waitForSendCompletion)
        {
            if (!waitForSendCompletion)
            {
                socket.Dispose();
            }

            var _r = responseObject;

            if (_r != null)
            {
                reusableSeaaBuffer.Return(_r);
            }
            reusableSeaaBuffer.Dispose();

            if (waitForSendCompletion)
            {
                socket.Dispose();
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Dispose
 /// </summary>
 public void Dispose()
 {
     reusableSeaaBuffer.Dispose();
 }