test: 兼容单测

This commit is contained in:
力皓 2021-04-28 11:26:24 +08:00
parent 9290b77248
commit d89c5910a5

View File

@ -770,7 +770,7 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
this.purged = true;
this.autoruns?.forEach((dispose) => dispose());
this.props.purge();
this.settingEntry.purge();
this.settingEntry?.purge();
// this.document.destroyNode(this);
}