Skip to content

Retain loops #11

@DanijelHuis

Description

@DanijelHuis

Hi,

AugmentedRealityController and ARViewController are not being deallocated beacuse of these retain loops:

AugmentedRealityController should have "rootViewController" set to weak to avoid retain loop with ARViewController.
@Property (nonatomic, weak) UIViewController *rootViewController;

Delegate in MarkerView should also be declared as weak:
__weak id _delegate;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions