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.
The text was updated successfully, but these errors were encountered:
chucker
added a commit
to chucker/TaskDialogLib
that referenced
this issue
Apr 19, 2018
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
CallbackOnCollectedDelegate
throws. As I understand it, this is roughly a use-after-free error:As I understand it, the
Show()
method inTaskDialog
cleans uphr
too early.The text was updated successfully, but these errors were encountered: