On Sunday, 11 May 2014 at 14:04:44 UTC, Kagamin wrote:
GC cleans up for you. Usually this won't happen because uniqueData is likely to be in data section and callback is likely to be a member of a widget used elsewhere. But if they aren't, GC will free them and you end up with dangling pointers in CommandArgs.
I see. I think i have been bitten by this actually. What would be your solution?