> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# destroy

APISummary
Destroy `LynxBackgroundRuntime` and release all resources related to the runtime.

## Syntax

### Android

```java
public void destroy();
```

### iOS

rely on garbage collect.

### Harmony

rely on garbage collect.

## Compatibility

**Compatibility Table**

**Query:** `lynx-native-api.lynx-background-runtime.destroy`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-native-api/lynx-background-runtime/destroy.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| destroy | Yes (3.1) | No | No | No | No | No |

**`destroy`**

manually destroy background runtime instance

**Specifications:**

