Fix up release old producers to avoid memory leak
[mdsal.git] / dom / mdsal-dom-spi / src / main / java / org / opendaylight / mdsal / dom / spi / shard / ForeignShardModificationContext.java
index bf14d7399697d2040d7f7c9ce32fbd849a37322f..ed7d00f62c5a601600555512fe44945598ff40d4 100644 (file)
@@ -79,6 +79,10 @@ public final class ForeignShardModificationContext implements Identifiable<DOMDa
         return identifier;
     }
 
+    public DOMDataTreeShardProducer getProducer() {
+        return producer;
+    }
+
     public ListenableFuture<Boolean> validate() {
         return tx.validate();
     }