diff --git a/network-store-client/src/main/java/com/powsybl/network/store/client/NetworkObjectIndex.java b/network-store-client/src/main/java/com/powsybl/network/store/client/NetworkObjectIndex.java index 4b5039a4e..c3e9e6d03 100644 --- a/network-store-client/src/main/java/com/powsybl/network/store/client/NetworkObjectIndex.java +++ b/network-store-client/src/main/java/com/powsybl/network/store/client/NetworkObjectIndex.java @@ -603,6 +603,7 @@ public Identifiable getIdentifiable(String id) { public void removeDanglingLine(String danglingLineId) { storeClient.removeDanglingLine(network.getUuid(), danglingLineId); + danglingLineById.remove(danglingLineId); } //buses