Skip to content

Commit

Permalink
fix: stop listener event when transform dispose (#3934)
Browse files Browse the repository at this point in the history
  • Loading branch information
NewByVector authored Sep 25, 2023
1 parent 90004ee commit 331a4f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/x6-plugin-transform/src/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ export class TransformImpl extends View<TransformImpl.EventArgs> {

@View.dispose()
dispose() {
this.stopListening()
this.remove()
this.off()
}
Expand Down

0 comments on commit 331a4f3

Please sign in to comment.