diff --git a/Telepathy/Server.cs b/Telepathy/Server.cs index 545f0c4..87560be 100644 --- a/Telepathy/Server.cs +++ b/Telepathy/Server.cs @@ -116,6 +116,13 @@ void Listen(int port) // through to here when aborting. don't show an // error.) } + catch (ThreadInterruptedException) + { + // happens if receive thread interrupts send thread. don't log anything. + // (we catch it in SendLoop too, but it still gets + // through to here when aborting. don't show an + // error.) + } catch (Exception exception) { Logger.LogError("Server send thread exception: " + exception);