chat_manager::cleanup

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

See also

Intro to Game Chat 2
chat_manager