Skip to content

Memory leak #57

@danh-geo

Description

@danh-geo

In Core.swift on line 130 there is self?.removeObserver(observer!) but I believe directly after this you should have:
observer = nil

You do this currently:

self?.removeObserver(observer!)
observer = nil

for lines 136-137 and 172-173 but I think its missing in the above scenario. I notice when I use Xcode Instruments > Leaks that I see memory leaks. Adding the above removes the leaks for me.

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