Skip to content

Commit

Permalink
fix(front): correct another outliner disposal bug
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Oct 14, 2024
1 parent 7c57c46 commit e1a1c72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/front/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@thatopen/components-front",
"description": "Collection of frontend tools to author BIM apps.",
"version": "2.3.5",
"version": "2.3.6",
"author": "That Open Company",
"contributors": [
"Antonio Gonzalez Viegas (https://github.com/agviegas)",
Expand Down
2 changes: 1 addition & 1 deletion packages/front/src/fragments/Outliner/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class Outliner extends OBC.Component implements OBC.Disposable {

/** {@link OBC.Component.enabled} */
get enabled() {
if (!this.world) {
if (!this.world || this.world.isDisposing) {
return false;
}

Expand Down

0 comments on commit e1a1c72

Please sign in to comment.