From 83c3c65fb3fb963be0190045f73732d8cc28bce1 Mon Sep 17 00:00:00 2001 From: erezyo Date: Sun, 3 Feb 2019 11:47:24 +0200 Subject: [PATCH] fix wrong bool --- index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) } }]