From e1ad4b337c98b3bcbfa3cb128203aa36db6324b8 Mon Sep 17 00:00:00 2001 From: Suresh Kumar Gangumalla Date: Wed, 17 Apr 2024 18:39:18 +0530 Subject: [PATCH] Make sure to set all children to null Signed-off-by: Suresh Kumar Gangumalla --- src/lib/setup/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/setup/base.js b/src/lib/setup/base.js index 31134fde..92fa11dc 100644 --- a/src/lib/setup/base.js +++ b/src/lib/setup/base.js @@ -278,8 +278,8 @@ const deleteChildren = function (children) { Object.keys(children[i]).forEach((k) => { if (children[i][k].destroy) { children[i][k].destroy() - children[i][k] = null } + children[i][k] = null }) } else if (children[i].destroy) { children[i].destroy()