文档

支持

Vivox Core SDK

Vivox Core SDK

Uninitialize the Vivox SDK

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

The game must uninitialize the Vivox SDK by calling
vx_uninitialize()
before it exits the process or before it calls
vx_initialize3()
again. If this operation is called when a user is signed in, the method can block for up to two seconds while it cleans up network resources.
The following code is an example of the uninitialization process:
. . .int status = vx_uninitialize();if (status != 0){ printf("vx_uninitialize() returned %d: %s\n", status,vx_get_error_string(status));}. . .