Clear out tx reference immediately after submit. 97/51997/1
authorTomas Cere <tcere@cisco.com>
Mon, 31 Oct 2016 15:23:00 +0000 (16:23 +0100)
committerJakub Morvay <jmorvay@cisco.com>
Fri, 17 Feb 2017 11:13:35 +0000 (11:13 +0000)
commit9945067c4e118198c4ffacc85a73250d66792a71
treee57bc7eee84bc823d7fb21d8a1a632622780d8cf
parent58e0b7ab5e3a2d31994ebfbcc5656b04d2442af8
Clear out tx reference immediately after submit.

When sumbmitting multiple transactions after each other
you could get into a state in which a transaction was submitted
and the reference wasn't cleared out in the callback resulting in
attempts to use an already finished transaction.

Change-Id: Iebf6ed10760c106e45c51665c63f45debe7e7063
Signed-off-by: Tomas Cere <tcere@cisco.com>
(cherry picked from commit c3cb4f829d82cd7e6d191152b0d6f53eacb68501)
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/impl/tx/NetconfMasterDOMTransaction.java