Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Immediately reclaims all resources associated with the chat instance.
Syntax
void cleanup(
)
Parameters
None.
Return value
Type: void
None.
Remarks
This method immediately reclaims all resources associated with this chat instance. Call this method when the app no longer requires communications using Game Chat 2, or when the app is suspended, to release resources allocated to the initialized chat instance. Every call to the chat_manager::initialize method must have a corresponding call to this method. For more information about initializing and cleaning up a chat instance, see Using the Game Chat 2 C++ API.
Requirements
Header: GameChat2.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles