dispose_component

Function dispose_component 

Source
pub fn dispose_component(id: &Ustr) -> Result<()>
Expand description

Safely calls dispose() on a component in the global registry.

ยงErrors

  • Returns an error if the component is not found.
  • Returns an error if the component is already borrowed.
  • Returns an error if dispose() fails.