> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFServicesUninitializeAsync

> Cleanup PlayFab Services global state.

Cleanup PlayFab Services global state.

## Syntax

```cpp theme={null}
HRESULT PFServicesUninitializeAsync(  
    XAsyncBlock* async  
)  
```

### Parameters

**`async`**   XAsyncBlock\*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This will internally call PFUninitializeAsync() if PFServicesInitialize() needed to call PFInitialize() interally. Asynchronous result returned via XAsyncGetStatus.

## Requirements

**Header:** PFServices.h

## See also

[PFServices members](/services/playfab/api-references/c/pfservices/pfservices_members)


## Related topics

- [SDK Lifecycle](/services/playfab/sdks/c/lifecycle.md)
- [Memory management in the PlayFab Unified SDK](/services/playfab/sdks/unified-sdk/memory-management.md)
- [Services C API overview - PFServices.h](/services/playfab/api-references/c/pfservices/pfservices_members.md)
- [Quickstart GDK](/services/playfab/sdks/c/quickstart-gdk.md)
- [Quickstart iOS](/services/playfab/sdks/c/quickstart-ios.md)
