Explorar el Código

element: Call super.disconnectedCallback

JC Brand hace 4 años
padre
commit
4ebd3caf48
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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();
     }
 }