It's not just for workspaces, it is called when a ...
# tornadofx
e
It's not just for workspaces, it is called when a View.root is detached from it's parent, or even when it's closed, if it's the root of a scene.