I think you can call ToolManager.DoMouseMove() safely, particularly if you do something like:
new ToolManager().DoMouseMove();
I don’t understand why you are getting a memory problem, though, because DraggingTool.DoDragOut always calls CleanUpDraggingTool when a drag-and-drop is started within the diagram. Does the problem only happen when there’s an external drag that entered the diagram?
I don’t know when the problem happens or why i just know that someone in my company told me that there is a leak and he send me the picture , i didn’t investigate enough to see what contidions casues it.
i am using my own dragging tool that inerites from DraggingTool and i even tried to check the function you talk about by using