element: Call super.disconnectedCallback
This commit is contained in:
parent
904a1394eb
commit
4ebd3caf48
@ -15,6 +15,7 @@ export class CustomElement extends LitElement {
|
||||
}
|
||||
|
||||
disconnectedCallback () {
|
||||
super.disconnectedCallback();
|
||||
this.stopListening();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user