Destroy a 'jstree' instance in a Shiny app.
jstreeDestroy(session, id)
session
the Shiny session object
id
the id of the tree to be destroyed
No value, just called to destroy a tree.