mirror of https://github.com/apache/cassandra
fixup last fix for bad lock guard
This commit is contained in:
parent
b66475c4e0
commit
def6b5fa19
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue