diff --git a/.version b/.version index a6a3a43..1464c52 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.0.4 \ No newline at end of file +1.0.5 \ No newline at end of file diff --git a/Arrowgene.Networking/Tcp/Consumer/BlockingQueueConsumption/ThreadedBlockingQueueConsumer.cs b/Arrowgene.Networking/Tcp/Consumer/BlockingQueueConsumption/ThreadedBlockingQueueConsumer.cs index 0f2f29a..35ace1f 100644 --- a/Arrowgene.Networking/Tcp/Consumer/BlockingQueueConsumption/ThreadedBlockingQueueConsumer.cs +++ b/Arrowgene.Networking/Tcp/Consumer/BlockingQueueConsumption/ThreadedBlockingQueueConsumer.cs @@ -46,8 +46,11 @@ private void Consume(int unitOfOrder) } catch (OperationCanceledException ex) { - Logger.Exception(ex); - Stop(); + if (_isRunning) + { + Logger.Exception(ex); + Stop(); + } return; }