common: fix subtree retainer not adding new callback checks

This commit is contained in:
David Sevilla Martin 2020-03-10 17:58:50 -04:00
parent dcb3cc1701
commit 6a67167eed
No known key found for this signature in database
GPG Key ID: F764F1417E16B15F

View File

@ -7,7 +7,7 @@ export default class SubtreeRetainer {
}
check(...callbacks: Function[]) {
this.callbacks.concat(...callbacks);
this.callbacks.push(...callbacks);
}
/**