fix c/p error in disposables

This commit is contained in:
Bruno Windels 2020-05-06 23:31:36 +02:00
parent abc99c2f0b
commit e17fc57d9c

View file

@ -1,5 +1,5 @@
function disposeValue(value) {
if (typeof d === "function") {
if (typeof value === "function") {
value();
} else {
value.dispose();