Skip to main content

unregister_plugin

Function unregister_plugin 

Source
pub fn unregister_plugin(provenance: u64) -> usize
Expand description

Withdraw every language contributed by provenance, returning how many were removed.

Teardown is by provenance, not by token: there is no list of handles for the caller to record and therefore none to forget. A plugin that registers three languages and crashes still has all three withdrawn.