Do not retain module through NotificationListener 42/12842/3
authorRobert Varga <rovarga@cisco.com>
Fri, 14 Nov 2014 12:03:04 +0000 (13:03 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Thu, 20 Nov 2014 09:29:57 +0000 (09:29 +0000)
commit4a062b3eeef138cb7b45a888564f8fde83d3912d
tree6eea291007a5618e92bfc0eb37d4a9dcc5c673e3
parente773a75ec0a88fb88c3314f89ce92d951401e585
Do not retain module through NotificationListener

Analysis shows we are retaining Module instances via
NotificationListener instances. This turns out to be caused by anonymous
class retaining a reference to AbstractDynamicWrapper, which holds the
module for hashCode/equals purposes.

Change-Id: Iab3c30eb3d03a1387fa1f4b0f3cf16eb348f1117
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/dynamicmbean/AbstractDynamicWrapper.java