()
| 191 | } |
| 192 | |
| 193 | destroy() { |
| 194 | logAssert(!this.destroyed, 'Workspace is destroyed'); |
| 195 | this.appLauncher.onDestroy(); |
| 196 | this.layout.onDestroy(); |
| 197 | if (this.msWorkspaceActor) { |
| 198 | this.msWorkspaceActor.destroy(); |
| 199 | } |
| 200 | this.destroyed = true; |
| 201 | } |
| 202 | |
| 203 | /** Index of the focused tileable. |
| 204 | * If there are no tileables in the workspace, this will be zero. |