Skip to content

Memory leak in event handlers #47

@luithefirst

Description

@luithefirst

Here is a minimal example:
https://github.com/aardvark-platform/aardvark.media/blob/main/src/Scratch/29%20-%20Garbage%20Collection/App.fs

The onClick handler closure holds temporary data that is then pinned at this line forever:

state.handlers.[key] <- evt.serverSide

Metadata

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