Project

General

Profile

Actions

Feature #3685

closed

PIT: delete in-record and out-record when face is destroyed

Added by Junxiao Shi over 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tables
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Currently, nfd::pit::FaceRecord::m_face has type shared_ptr<Face>.
When a face is destroyed and removed from FaceTable, it's kept for longer than necessary in the PIT entry.

The correct behavior should be removing the in-records and out-records associated with a destroyed face.


Related issues 1 (0 open1 closed)

Related to NFD - Task #3164: Reduce usage of shared_ptr in FIB/PIT/StrategyChoice/MeasurementsClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF