From f8b3a098d0d61acf21bb2a56960393a6430198dc Mon Sep 17 00:00:00 2001 From: James Watson Date: Tue, 15 May 2018 18:26:55 +0100 Subject: [PATCH] Fix client disposal --- src/Adaptive.Aeron/Aeron.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Adaptive.Aeron/Aeron.cs b/src/Adaptive.Aeron/Aeron.cs index 58dde5e0..1cdf4023 100644 --- a/src/Adaptive.Aeron/Aeron.cs +++ b/src/Adaptive.Aeron/Aeron.cs @@ -16,7 +16,6 @@ using System; using System.IO; -using System.Text; using System.Threading; using Adaptive.Aeron.Exceptions; using Adaptive.Aeron.LogBuffer; @@ -82,7 +81,7 @@ public sealed class Aeron : IDisposable */ public static readonly long KeepaliveIntervalNs = NanoUtil.FromMilliseconds(500); - private static readonly AtomicBoolean _isClosed = new AtomicBoolean(false); + private readonly AtomicBoolean _isClosed = new AtomicBoolean(false); private readonly long _clientId; private readonly ClientConductor _conductor; private readonly IRingBuffer _commandBuffer;