Browse Source

element: Call super.disconnectedCallback

JC Brand 4 years ago
parent
commit
4ebd3caf48
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/element.js

+ 1 - 0
src/components/element.js

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