You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 8, 2023. It is now read-only.
The callbackOnCollectedDelegate managed debugging assistant (MDA) is activated if a delegate is marshaled from managed to unmanaged code as a function pointer and a callback is placed on that function pointer after the delegate has been garbage collected.
As I understand it, the Show() method in TaskDialog cleans up hr too early.
I'm calling the lib as follows:
MyTaskDialog has a custom button (style
CommandLinks), a default icon, and a title. (This appears to also happen with an even simpler dialog.)After clicking the button, the Managed Debugging Assistant
CallbackOnCollectedDelegatethrows. As I understand it, this is roughly a use-after-free error:As I understand it, the
Show()method inTaskDialogcleans uphrtoo early.