commit | 77d8ca4d577f3d4a0c9d958dd156209687cb44db | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Fri Feb 01 11:47:29 2019 -0800 |
committer | Andrea Campanella <andrea@opennetworking.org> | Mon Feb 04 09:28:06 2019 +0000 |
tree | 5a6251c368f9223d9a52b47b548de81e0c3aea22 | |
parent | 59d3137ab5cb750ef1026219c48b5fa670d843b5 [diff] |
ONOS-7918 yes, release the reference to the reply Change-Id: I7428cfb93c6cf0e64ee6f6504121fe706f4dd4f8
diff --git a/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/impl/NetconfSessionMinaImpl.java b/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/impl/NetconfSessionMinaImpl.java index e73a4c6..03b20e3 100644 --- a/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/impl/NetconfSessionMinaImpl.java +++ b/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/impl/NetconfSessionMinaImpl.java
@@ -841,8 +841,8 @@ event.getDeviceInfo(), event.getMessagePayload()); return; } - CompletableFuture<String> completedReply = - replies.get(messageId.get()); // remove(..)? + // Remove the message as it has been processed. + CompletableFuture<String> completedReply = replies.remove(messageId.get()); if (completedReply != null) { completedReply.complete(event.getMessagePayload()); }