Wrap each run in a transaction
czottmann opened this issue · 0 comments
czottmann commented
Suggestion coming out of the Community Plugins PR.
[…] you could wrap [the change] in a single transaction. That will make the changes atomic, so if the user presses "undo" all the changes will be rolled back at once.
(here's an example from the creases plugin)