Skip to content

MemoryLeak with StoryBoardTransition #28

@e-tobi

Description

@e-tobi

Looks like there's a memory leak when using StoryBoardTransition. I see an ever growing number of DoubleAnimation instances over time.

Looking at the code, this at least looks suspicious:

https://github.com/thinkpixellab/bot/blob/master/Wpf/Transitions/StoryboardTransition.cs#L79

The local "done" variable is used in the event handler here - doesn't make much sense. And the event handler is never unsubscribed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions