From ef8094d9daeff63f0bd5749b5708f0821fb03c48 Mon Sep 17 00:00:00 2001 From: antiduh Date: Thu, 26 Jun 2014 21:55:51 +0000 Subject: [PATCH] Fixed server shutdown. --- TestProtocol/CustomServer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TestProtocol/CustomServer.cs b/TestProtocol/CustomServer.cs index 1c762ab..f5c6af0 100644 --- a/TestProtocol/CustomServer.cs +++ b/TestProtocol/CustomServer.cs @@ -63,6 +63,8 @@ namespace TestProtocol return; } + this.running = false; + this.serverSocket.Close(); if( this.readSocket != null )