Skip to content

Garbage Collection #10

Open
Open
@iaburton

Description

Hi there,

I noticed here that there's a TODO for garbage collection.
https://github.com/shurcooL/trayhost/blob/master/trayhost.go#L152

It seems that the display function always appends the value of the struct into that slice. As implied by the TODO, does this mean the memory usage of an app using this to create notifications over time will see its memory usage grow? I tried reading the non-Go code to figure out if it was somehow being removed from that side, but I don't know Cocoa well enough. Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions