diff --git a/src/device/service/drivers/gnmi_openconfig/handlers/Interface.py b/src/device/service/drivers/gnmi_openconfig/handlers/Interface.py index 6b91b1b06016064ffaa3d893688d873b5c534813..d663e1a849e20a2d4f28a796270d8de1a08a0e23 100644 --- a/src/device/service/drivers/gnmi_openconfig/handlers/Interface.py +++ b/src/device/service/drivers/gnmi_openconfig/handlers/Interface.py @@ -86,9 +86,15 @@ class InterfaceHandler(_Handler): json_data = json_data['openconfig-interfaces:interface'][0] str_data = json.dumps(json_data) + LOGGER.warning('Releasing...') while not objects_to_free.empty(): + LOGGER.warning('Getting...') obj = objects_to_free.get() + LOGGER.warning('Releasing: {:s} => {:s}'.format( + str(obj.path()), str(obj.print_mem('json')) + )) obj.free() + LOGGER.warning('Release done') return str_path, str_data def parse(