dev
Revision | 52a58bedda55ddb6ae71fa86f108475873035d75 (tree) |
---|---|
Time | 2013-04-17 05:22:58 |
Author | Kimura Youichi <kim.upsilon@bucy...> |
Commiter | Kimura Youichi |
LockRecursionException が発生する問題について再度対策
ListView.CacheVirtualItems イベントの挙動が謎い。
@@ -188,7 +188,7 @@ namespace OpenTween | ||
188 | 188 | private int _itemCacheIndex; |
189 | 189 | private ListViewItem[] _itemCache; |
190 | 190 | private PostClass[] _postCache; |
191 | - private ReaderWriterLockSlim itemCacheLock = new ReaderWriterLockSlim(); | |
191 | + private ReaderWriterLockSlim itemCacheLock = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion); | |
192 | 192 | |
193 | 193 | private TabPage _curTab; |
194 | 194 | private int _curItemIndex; |