Last Updated: 11 Nov 2016 14:49 by Laurent Kempé
Petar Mladenov
Created on: 13 Jun 2016 12:57
Category: Diagram
Type: Feature Request
Diagram: Add mechanism to clear the UndoRedo internal cache
-- Add ClearCache method to clear the undo-redo dictionaries used internally


-- make the undo-redo dictionaries auto clear when undo-redo stacks are cleared

Available in LIB version: 2016.3.1114
Clear method of Diagram's UndoRedoService now clears the UndoRedo internal cache automatically.  
What's changed ? The public interface IDiagramContainerGeneratorInternal interface now adds ClearCache method:
A) this.Diagram.UndoRedoService.Clear(); will clear the internal undoredo cache which stores model-container relations. Also this will clear the undo/redo command stacks.
B) this.Diagram.ContainerGenerator as GenericContainerGenerator<RadDiagramItem>).ClearCache(); will clear ONLY the undoredo cache.
Laurent Kempé
Posted on: 04 Nov 2016 08:45
Petar, great to read this! I hope it will make it because this is critical to us to be able to ship our next major release!
Petar Mladenov
Posted on: 04 Nov 2016 07:53
We will be looking into this the current Release which is scheduled for January. If we manage to add a fix in some of our internal builds, we will mention it here.
Laurent Kempé
Posted on: 27 Oct 2016 12:28
When can we expect to have this fixed? It starts to be more and more important for one of our biggest release!
Posted on: 14 Jun 2016 07:24
This is very important for us, because without this feature the RadDiagram keeps removed objects in memory and we would like to control the memory.