BUG 9072 - Fix OVSDB TransactionChain memory leak 62/62462/2
authorVictor Pickard <vpickard@redhat.com>
Wed, 30 Aug 2017 18:52:19 +0000 (14:52 -0400)
committerAnil Vishnoi <vishnoianil@gmail.com>
Sat, 2 Sep 2017 00:48:28 +0000 (00:48 +0000)
commita789df9c46eeb063ef981b417d07fe587fdfd53d
tree0266746560090bda11fc94035a4b1e22ad20526b
parentf9e6c7453682fd61cf33517d5c8e87c033d6629f
BUG 9072 - Fix OVSDB TransactionChain memory leak

TransactionChain is never closed. Add code to
close txChain when SouthboundProvider is closed.

This fix is part of memory leak cleanup efforts
for bug 9060 and bug 9034.

Change-Id: Ic24ec8081b02a35b73a4c640e751b75ee80bd143
Signed-off-by: Victor Pickard <vpickard@redhat.com>
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/transactions/md/TransactionInvoker.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/transactions/md/TransactionInvokerImpl.java
southbound/southbound-impl/src/test/java/org/opendaylight/ovsdb/southbound/SouthboundProviderTest.java