Skip to content

Potential memory leak on Timer.scheduledTimer #3

Description

@skywalkerlw

Since there's no invalidation operation on Timer.scheduledTimer, I'm wondering whether there could be a memory leak problem.

Timer.scheduledTimer(withTimeInterval: animationTime, repeats: true) { (mainTimer) in
                self.animateSpinner()
            }

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