mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
a72d3e5c7a
When a tab was being deleted, for instance, the last block that got deleted would cascade to delete its parent tab, even though the `DeleteTab` function was already going to do this. This would produce DB collisions that would put the app into a bad state. Now we pass a `recursive` flag that is used to determine whether to perform the recursive close of the parents. Also updates `DeleteWorkspace` so that named workspaces will always be deleted if they're empty, even if `force` is false |
||
---|---|---|
.. | ||
blockservice | ||
clientservice | ||
fileservice | ||
objectservice | ||
userinputservice | ||
windowservice | ||
workspaceservice | ||
service.go |