Project

General

Profile

Actions

Task #2457

closed

Create Face in Logic rather than pass a Face reference in the constructor of Logic/Socket

Added by Yingdi Yu almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Start date:
01/31/2015
Due date:
% Done:

0%

Estimated time:

Description

Passing a Face reference into logic is a bad design. When Logic is destroyed, some callbacks such as those passed through expressInterest should be removed.
Make Face as a part of Logic seems to be a better design, so that it is always guaranteed that all callbacks will be destroyed first.

Actions

Also available in: Atom PDF