From 108e61f4eb0df3cd6bebac5f5ab0ca4b53edc4fc Mon Sep 17 00:00:00 2001 From: MaxXor Date: Tue, 17 Mar 2015 10:34:31 +0100 Subject: [PATCH] Removed unnecessary comments due to changes to ProtoBuf --- Client/Core/ProtoBuf/ProtoWriter.cs | 2 +- Server/Core/ProtoBuf/ProtoWriter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/Core/ProtoBuf/ProtoWriter.cs b/Client/Core/ProtoBuf/ProtoWriter.cs index 7939bfc5..c4100c00 100644 --- a/Client/Core/ProtoBuf/ProtoWriter.cs +++ b/Client/Core/ProtoBuf/ProtoWriter.cs @@ -472,7 +472,7 @@ void IDisposable.Dispose() Dispose(); } private void Dispose() - { // importantly, this does **not** own the stream, and does not dispose it + { if (dest != null) { Flush(this); diff --git a/Server/Core/ProtoBuf/ProtoWriter.cs b/Server/Core/ProtoBuf/ProtoWriter.cs index 7939bfc5..c4100c00 100644 --- a/Server/Core/ProtoBuf/ProtoWriter.cs +++ b/Server/Core/ProtoBuf/ProtoWriter.cs @@ -472,7 +472,7 @@ void IDisposable.Dispose() Dispose(); } private void Dispose() - { // importantly, this does **not** own the stream, and does not dispose it + { if (dest != null) { Flush(this);