Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

MemoryLeak with StoryBoardTransition #28

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.

Activity

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

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