You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by cc...@apache.org on 2012/03/22 17:33:48 UTC
svn commit: r1303880 -
/incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs
Author: ccurrens
Date: Thu Mar 22 16:33:48 2012
New Revision: 1303880
URL: http://svn.apache.org/viewvc?rev=1303880&view=rev
Log:
[LUCENENET-477] - Added patch for NullReferenceException when util/ThreadLocal is compiled for .NET 2.0
Modified:
incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs
Modified: incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs?rev=1303880&r1=1303879&r2=1303880&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs (original)
+++ incubator/lucene.net/trunk/src/core/Util/CloseableThreadLocal.cs Thu Mar 22 16:33:48 2012
@@ -195,7 +195,7 @@ namespace Lucene.Net.Util
// public void Dispose()
// {
- // slots.Remove(this);
+ // if (slots != null) slots.Remove(this);
// }
//}
-}
\ No newline at end of file
+}