feat(node): destroy method

This commit is contained in:
Nova
2022-06-08 17:28:27 -04:00
parent bb356f6cb1
commit f9f36dd43a
3 changed files with 23 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ pub fn create_spatial_flex(_node: &Node, calling_client: Rc<Client>, data: &[u8]
let flex_vec = root.get_vector()?;
let spatial = Node::create(
Rc::downgrade(&calling_client),
"/spatial",
"/spatial/spatial",
flex_vec.idx(0).get_str()?,
true,
);