Skip to content

Conversation

@ahimberg
Copy link
Member

@ahimberg ahimberg commented Jun 29, 2019

If animation manager manually shuts down / drops animations before they complete, we currently crash in the Completed notification looking at freed memory. We have some things in a flyout animating that get manually shut down as the flyout closes that are crashing with animated now existing (I think before just some debug message was being shown about animated not being implemented)

This probably was working before we removed the shared_ptr types that would keep some stuff alive.

Fix - manually revoke (since the auto revoker was noted as not working)

Also fix make_unique code in animated to not do an extra copy. Discovered when I tested auto_revoker it wouldn't compile because there is no copyctor for auto_revoker.

Microsoft Reviewers: Open in CodeFlow

@ahimberg ahimberg requested a review from StephenLPeters June 29, 2019 22:11
@ahimberg ahimberg requested a review from a team as a code owner June 29, 2019 22:11
@ghost ghost added the vnext label Jun 29, 2019
Copy link
Contributor

@kmelmon kmelmon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Contributor

@StephenLPeters StephenLPeters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good change to me!

@ahimberg ahimberg merged commit 87427dd into microsoft:master Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants