Skip to content

Commit

Permalink
Fix memory leak, see #76
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid authored and chrisklus committed Apr 12, 2022
1 parent ade26ea commit 7bdfdcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/common/view/CAVScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ class CAVScreenView extends ScreenView {
model.objectGroup.elementDisposedEmitter.addListener( casObject => {
const viewNode = map.get( casObject )!;
objectNodeGroup.disposeElement( viewNode );
map.delete( casObject );
} );

this.topCheckboxGroup = new TopRepresentationCheckboxGroup( model, merge( {
Expand Down

0 comments on commit 7bdfdcd

Please sign in to comment.