Clear out tx reference immediately after submit. 83/47783/2
authorTomas Cere <tcere@cisco.com>
Mon, 31 Oct 2016 15:23:00 +0000 (16:23 +0100)
committerTomas Cere <tcere@cisco.com>
Mon, 31 Oct 2016 15:30:19 +0000 (16:30 +0100)
commitc3cb4f829d82cd7e6d191152b0d6f53eacb68501
tree3670e634c09f61424a443e5abb031b5a7dbd35dd
parent4118994cbcaab1552018b1529719696263eda367
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>
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/impl/tx/NetconfMasterDOMTransaction.java