Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed ObjectDisposedException on delegates #674

Merged
merged 2 commits into from
Jan 19, 2021

Conversation

manodasanW
Copy link
Member

A delegate previously associated with a this ptr may be reused by the ComWrappers API even though its native object has already been disposed. In this case, resurrect them similar to how we did with the non delegate scenario.

Fixes #640

Copy link
Member

@Scottj1s Scottj1s left a comment

Choose a reason for hiding this comment

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

thanks!

@manodasanW manodasanW merged commit 913244d into master Jan 19, 2021
@manodasanW manodasanW deleted the manodasanw/objectdisposed branch January 19, 2021 20:30
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.

Random exceptions when calling UWP APIs on .NET 5
3 participants