shutdown

Function shutdown 

Source
pub fn shutdown()
Expand description

xmpp_shutdown

Call this function when your application terminates, but be aware that you can’t use the library after you called shutdown() and there is now a way to reinitialize it again.

This function is thread safe, it’s safe to call it several times, and it’s safe to call it before doing any initialization.