Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing location of disposed field

  • Loading branch information...
commit ff1ab35aba773a288f3eeb6664c0cc486b9ae8e4 1 parent a697880
Ayende Rahien authored August 18, 2011
2  Raven.Client.Lightweight/Connection/HttpJsonRequestFactory.cs
@@ -150,7 +150,6 @@ public bool DisableHttpCaching
150 150
 		private readonly ThreadLocal<TimeSpan?> aggressiveCacheDuration = new ThreadLocal<TimeSpan?>(() => null);
151 151
 
152 152
 		private readonly ThreadLocal<bool> disableHttpCaching = new ThreadLocal<bool>(() => false);
153  
-	    private volatile bool disposed;
154 153
 #else
155 154
 		[ThreadStatic] private static TimeSpan? aggressiveCacheDuration;
156 155
 		[ThreadStatic] private static bool disableHttpCaching;
@@ -175,6 +174,7 @@ public bool DisableHttpCaching
175 174
 			set { aggressiveCacheDuration = value; }
176 175
 		}
177 176
 #endif
  177
+        private volatile bool disposed;
178 178
 
179 179
 		internal string GetCachedResponse(HttpJsonRequest httpJsonRequest)
180 180
 		{

0 notes on commit ff1ab35

Please sign in to comment.
Something went wrong with that request. Please try again.