diff --git a/index.tsx b/index.tsx index 353ddcf..0f7edc1 100644 --- a/index.tsx +++ b/index.tsx @@ -45,7 +45,7 @@ export function react2angular( } } componentWillUnmount() { - this.isDestroyed = false + this.isDestroyed = true unmountComponentAtNode(this.$element[0]) } }]