-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
issue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Description
Check for duplicates
- I have searched for similar issues before opening a new one.
Description
The workspace cleanUp() function creates a new event group for itself, but doesn't check whether a group already exists. This seems an oversight, since other places in code do have this check when relevant.
Reproduction steps
- Write a function that creates an event group, does something observable, calls
workspace.cleanUp(), and then does something observable. - Run this function in playground.
- Undo. Observe that only part of the actions are undone.
Expected behavior: the whole action is undone as one step.
Stack trace
Screenshots
No response
Browsers
No response
Metadata
Metadata
Assignees
Labels
issue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong