Actions
Bug #1718
closedFace still alive after any failure
Start date:
06/30/2014
Due date:
% Done:
100%
Estimated time:
Description
When on-demand UdpFace is being closed, the object itself is still alive.
To check:
in
udp-face.cpp
on line 128 (just after close()):NFD_LOG_ERROR("Remaining references: " << this->shared_from_this().use_count() - 1);
run NFD
from another machine either send UDP packet with
nc
or establish udp face towards the machinewait
Expectation: Remaining references: 0
(or crash)
Actual: Remaining references: 2
This may not be just UdpFace, I just discovered it with idle UdpFace. Where could we forgotten this face?
Actions