rem: remove destroyed hook

This commit is contained in:
Géry Debongnie
2019-04-10 09:35:20 +02:00
parent 74ce6a671e
commit f960149ba2
4 changed files with 3 additions and 58 deletions
-9
View File
@@ -197,14 +197,6 @@ export class Component<
*/
willUnmount() {}
/**
* destroyed is a hook called exactly once, when a component is destroyed.
* When a component is destroyed, its children will be destroyed first.
*
* Note: this method should not be called manually.
*/
destroyed() {}
//--------------------------------------------------------------------------
// Public
//--------------------------------------------------------------------------
@@ -296,7 +288,6 @@ export class Component<
}
this.clear();
this.__widget__.isDestroyed = true;
this.destroyed();
}
}