If you called XblMemSetFunctions(), call this before shutting down your app’s memory manager. It is the responsibility of the game to wait for any outstanding Async calls to complete before calling XblCleanup. If there are background async tasks started by XSAPI pending, this API will wait for them to complete.