Skip to content

IASKAppSettingsViewController delegate is unsafely retained #495

@via-guy

Description

@via-guy

In line 227 of IASKAppSettingsViewController.h we have the following declaration:

@property (nonatomic, assign) IBOutlet id<IASKSettingsDelegate> delegate;

This causes the delegate reference to be unowned, which can lead to a crash when the view disappears. It should be changed to weak.

Screenshot 2024-09-18 at 11 46 19

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