SolutionsDesign / Algorithmia

Algorithm and data-structure library for .NET 4.5.2+/Netstandard 2.0+. Algorithmia contains sophisticated algorithms and data-structures like graphs, priority queues, command, undo-redo and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starting an undoable period with a command with a before/after action executes them twice

FransBouma opened this issue · comments

When executing a command using the PerformUndoablePeriod method on the command manager using a command with a before/after action, the command is executed normally through the pipeline to get it properly enqueued, and as it's empty by design, nothing should happen, however the before/after action will be executed, so these actions will be executed twice.