fix c/p error in disposables
This commit is contained in:
parent
abc99c2f0b
commit
e17fc57d9c
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
function disposeValue(value) {
|
||||
if (typeof d === "function") {
|
||||
if (typeof value === "function") {
|
||||
value();
|
||||
} else {
|
||||
value.dispose();
|
||||
|
|
Reference in a new issue