---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssplayer-pixi-ui/classes/InstanceSlotHandle.md
---
# Class: InstanceSlotHandle

Defined in: packages/ssplayer-core/dist/index.d.ts:2960

Owning JS handle for a WASM `SSRuntimeInstanceSlot`. `destroy()` frees the
WASM handle and cancels the GC finalizer; the FinalizationRegistry is a
safety net for handles that are dropped without an explicit `destroy()`.

## Constructors

### Constructor

> **new InstanceSlotHandle**(): `InstanceSlotHandle`

Defined in: packages/ssplayer-core/dist/index.d.ts:2962

#### Returns

`InstanceSlotHandle`

## Properties

### raw

> **raw**: [`SSRuntimeInstanceSlot`](SSRuntimeInstanceSlot.md)

Defined in: packages/ssplayer-core/dist/index.d.ts:2961

## Methods

### destroy()

> **destroy**(): `void`

Defined in: packages/ssplayer-core/dist/index.d.ts:2963

#### Returns

`void`
