# FontRegistry.destroy()

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

Drops the loaded bytes and the preview faces it added to `document.fonts`.

- Kind: method
- Since: 1.0.0

Returns `void`

```ts
fonts.destroy();
```

Part of [FontRegistry](https://kernstra.com/docs/web-sdk/api/fontregistry) in the Kernstra Web SDK 1.0.0 API reference.

Web page: https://kernstra.com/docs/web-sdk/api/fontregistry/destroy
