Skip to content

Commit e1a1c72

Browse files
committed
fix(front): correct another outliner disposal bug
1 parent 7c57c46 commit e1a1c72

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/front/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@thatopen/components-front",
33
"description": "Collection of frontend tools to author BIM apps.",
4-
"version": "2.3.5",
4+
"version": "2.3.6",
55
"author": "That Open Company",
66
"contributors": [
77
"Antonio Gonzalez Viegas (https://github.com/agviegas)",

packages/front/src/fragments/Outliner/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class Outliner extends OBC.Component implements OBC.Disposable {
1717

1818
/** {@link OBC.Component.enabled} */
1919
get enabled() {
20-
if (!this.world) {
20+
if (!this.world || this.world.isDisposing) {
2121
return false;
2222
}
2323

0 commit comments

Comments
 (0)