fixup last fix for bad lock guard

This commit is contained in:
Dave Brosius 2015-05-08 16:08:36 -04:00
parent b66475c4e0
commit def6b5fa19
1 changed files with 2 additions and 1 deletions

View File

@ -153,10 +153,11 @@ public class DynamicList<E>
public void remove(Node<E> node)
{
lock.writeLock().lock();
node.value = null;
try
{
assert node.value != null;
node.value = null;
size--;
// go up through each level in the skip list, unlinking this node; this entails