element: Call super.disconnectedCallback

This commit is contained in:
JC Brand 2020-09-26 21:42:42 +02:00
parent 904a1394eb
commit 4ebd3caf48

View File

@ -15,6 +15,7 @@ export class CustomElement extends LitElement {
}
disconnectedCallback () {
super.disconnectedCallback();
this.stopListening();
}
}