Documentation

Support

Vivox Unreal SDK

Vivox Unreal SDK

Uninitialize the Vivox SDK

Learn how to properly uninitialize the Vivox SDK.
Read time 1 minuteLast updated 2 days ago

The game must uninitialize the Vivox SDK by calling IClient::Uninitialize() before exiting the process, or before calling IClient::Initialize() again. If this operation is called while a user is signed in, the method can block for up to two seconds while it cleans up network resources. This is a safe way to unwind all Vivox resources; it is not necessary to individually leave channels and sign out the user. The following code displays an example of the uninitialization process:
/* . . . */// MyVoiceClient is the IClient reference that was initializedMyVoiceClient->Uninitialize();/* . . . */