Page MenuHomeeNTiDi

Avoid circular dependency between entity and model
Closed, ResolvedPublic

Description

Actually model and entity depending on models have a strong circular dependency. adg_entity_destroy() (or maybe g_object_run_dispose() directly) can be used to break this relation.

Investigate if there is a cleaner way (maybe leveraging weak references) that can avoid this issue (circular dependencies are notoriously a pain to manage).

Event Timeline

ntd created this task.Oct 11 2016, 2:01 PM
ntd moved this task from Backlog to 1.0 Stable release on the ADG board.Oct 11 2016, 3:46 PM
ntd closed this task as Resolved.Dec 30 2016, 10:10 AM

Circular dependency was already solved with commit 97ba9878afd1dad0f90b3bf87322533b7e107d60.

ntd shifted this object from the S1 Public space to the Restricted Space space.Oct 2 2018, 7:59 AM
ntd shifted this object from the Restricted Space space to the S1 Public space.Oct 3 2018, 10:10 AM
ntd changed the visibility from "All Users" to "Public (No Login Required)".