From e17fc57d9c72f08e3875ad3214b843e180a0f0a2 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 6 May 2020 23:31:36 +0200 Subject: [PATCH] fix c/p error in disposables --- src/utils/Disposables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Disposables.js b/src/utils/Disposables.js index e1d6b0a5..bd84ccf0 100644 --- a/src/utils/Disposables.js +++ b/src/utils/Disposables.js @@ -1,5 +1,5 @@ function disposeValue(value) { - if (typeof d === "function") { + if (typeof value === "function") { value(); } else { value.dispose();