# Finalize

> Enables an object to perform cleanup operations and release resources before it is
reclaimed by garbage collection. Implements the [Object.Finalize](https://learn.microsoft.com/en-us/dotnet/api/system.object.finalize?view=net-8.0) method.

Enables an object to perform cleanup operations and release resources before it is
reclaimed by garbage collection. Implements the [Object.Finalize](https://learn.microsoft.com/en-us/dotnet/api/system.object.finalize?view=net-8.0) method.

## Definition

**Namespace**: UiPath.MobileAutomation.API.Models

**Assembly**: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

## `Finalize()`

```
Finalize()
```
