commit | 97d4e82d5eab7724810a174b32e01b56d163ab5e | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Fri Feb 01 11:47:29 2019 -0800 |
committer | David K. Bainbridge <dbainbri@ciena.com> | Sat Feb 02 15:37:13 2019 -0800 |
tree | f6a7af30f0c94f9986ba45c0d6dc171ba79bb28c | |
parent | 7fedfa2274e047843d5f48dfaf579a9d8dcddc68 [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 05af1c7..0834a7e 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
@@ -784,8 +784,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()); }