2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: JSHandle.dispose
|
|
|
|
---
|
|
|
|
|
|
|
|
# JSHandle.dispose() method
|
|
|
|
|
2022-08-16 11:58:16 +00:00
|
|
|
Releases the object referenced by the handle for garbage collection.
|
2022-08-06 14:49:20 +00:00
|
|
|
|
2022-10-24 14:23:24 +00:00
|
|
|
**Signature:**
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
class JSHandle {
|
|
|
|
dispose(): Promise<void>;
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
Promise<void>
|