Actions
Bug #4525
openDestructing a ChronoSync socket object shuts down the face
Status:
New
Priority:
Normal
Assignee:
-
Start date:
03/02/2018
Due date:
% Done:
0%
Estimated time:
Description
Currently the ChronoSync socket class accepts a reference to a Face object. I think this is intended to support using one face for multiple different applications. However, when destructing the Logic class, the face is shutdown. This means that the face object becomes unusable, defeating the point of it being a reference.
I see two paths forward: ChronoSync should create a separate face and use that one to avoid conflicts when shutting the face down, or clean up after itself correctly, meaning: cancel pending interests and un-register prefixes. Logic only sends interests, so remembering pending interests would be the only necessary step.
No data to display
Actions