Remove remnants from memory troubleshooting

This commit is contained in:
John Lewin 2018-10-04 19:44:15 -07:00
parent ed7136cde7
commit 140bf87b15

View file

@ -1411,11 +1411,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{ {
sceneContext.Scene.UndoBuffer.ClearHistory(); sceneContext.Scene.UndoBuffer.ClearHistory();
GC.Collect();
UiThread.RunOnIdle(() => UiThread.RunOnIdle(() =>
{ {
GC.Collect();
this.Invalidate(); this.Invalidate();
}, 1); }, 1);
}); });