-
Notifications
You must be signed in to change notification settings - Fork 804
Open
Labels
area-Pointerarea-ScrollingbugSomething isn't workingSomething isn't workingneeds-assignee-attentionAssignee needs to follow-up or investigate this issueAssignee needs to follow-up or investigate this issueneeds-triageIssue needs to be triaged by the area ownersIssue needs to be triaged by the area owners
Description
Describe the bug
We have a crash in our app, which is attributed to the ScrollView::OnHideIndicatorsTimerTick method that happens after a window has been closed. Looking at the implementation of how this event is registered, it is just grabbing a raw this pointer, so there is no guarantee the pointer is valid once the object has been destroyed.
C++/Winrt docs describing this issue: https://learn.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/weak-references#the-issue
Steps to reproduce the bug
So timing related, good luck reproducing
Expected behavior
No response
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-Pointerarea-ScrollingbugSomething isn't workingSomething isn't workingneeds-assignee-attentionAssignee needs to follow-up or investigate this issueAssignee needs to follow-up or investigate this issueneeds-triageIssue needs to be triaged by the area ownersIssue needs to be triaged by the area owners