Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
TheMode 2022-06-25 13:01:16 +02:00
parent cda46d184e
commit a04012d9bf

View File

@ -76,7 +76,8 @@ final class TagHandlerImpl implements TagHandler {
} else { } else {
synchronized (this) { synchronized (this) {
node = traversePathWrite(root, tag, false); node = traversePathWrite(root, tag, false);
if (node != null) node.entries.remove(tagIndex); if (node == null) return;
node.entries.remove(tagIndex);
} }
} }
node.invalidate(); node.invalidate();