Skip to main content

pamoja_loopback_broker_free

Function pamoja_loopback_broker_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_loopback_broker_free( broker: *mut PamojaLoopbackBroker, )
Expand description

Releases a broker handle.

Transports already built from the broker keep working, because each holds its own share of it.

Passing null is a no-op.

ยงSafety

broker must be a handle from pamoja_loopback_broker_new that has not already been freed, or null. After this call it must not be used again.