> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# destroy

> Destroys the participant, releasing all subscriptions and references.

```ts
destroy(): void
```

Destroys the participant, releasing all subscriptions and references.

## **Returns**

`void`

## **Examples**

```ts
selfParticipant.destroy();
```