文档

支持

Vivox Unreal SDK

Vivox Unreal SDK

Uninitialize the Vivox SDK

Learn how to properly uninitialize the Vivox SDK.
阅读时间1 分钟最后更新于 25 天前

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();/* . . . */